summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-10-04 16:55:59 +0300
committerDennis Francis <dennis.francis@collabora.co.uk>2017-11-21 13:49:52 +0530
commitd07638341eade68eae61aa495cb5998c7102327a (patch)
tree225358ed0462e25e591d9d8c814e553074050d41 /sc/source/core
parent6147ba802ac891910c7404c697b0e9f57f0a44d4 (diff)
Move ScDocument::GetNonThreadedContext() inline
Did not have any impact on performance, though. Change-Id: I7e769b4a74e0ff9e0aabfb7e291fc4b987441954
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/document.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 0df71931c355..73f450dc8163 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -6769,13 +6769,6 @@ ScMutationGuard::~ScMutationGuard()
#endif
}
-ScInterpreterContext ScDocument::GetNonThreadedContext() const
-{
- // GetFormatTable() asserts that we are not in a threaded calculation
- ScInterpreterContext aResult(*this, GetFormatTable());
- return aResult;
-}
-
thread_local ScDocumentThreadSpecific ScDocument::maThreadSpecific;
ScRecursionHelper& ScDocument::GetRecursionHelper()