summaryrefslogtreecommitdiffstats
path: root/sc/inc/mtvelements.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-07 13:21:13 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-11 16:17:27 -0500
commit94934248e73defcf96d2e58089b0a731b191f015 (patch)
tree3ecb22ee3041d736ee371de7e03ddede86b4d3cd /sc/inc/mtvelements.hxx
parentGuard access to external ref manager instance. (diff)
downloadcore-94934248e73defcf96d2e58089b0a731b191f015.tar.gz
core-94934248e73defcf96d2e58089b0a731b191f015.zip
Make this thread safe too.
Change-Id: Ic8508f693f8a6e9bae513d6b5b6eaaaae618194b
Diffstat (limited to 'sc/inc/mtvelements.hxx')
-rw-r--r--sc/inc/mtvelements.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx
index a1532d4378b3..e5efbf13f804 100644
--- a/sc/inc/mtvelements.hxx
+++ b/sc/inc/mtvelements.hxx
@@ -17,6 +17,7 @@
#include "editeng/editobj.hxx"
#include "calcmacros.hxx"
#include "postit.hxx"
+#include "osl/mutex.hxx"
#if DEBUG_COLUMN_STORAGE
#ifdef NDEBUG
@@ -138,6 +139,7 @@ class ColumnBlockPositionSet
ScDocument& mrDoc;
TablesType maTables;
+ osl::Mutex maMtxTables;
public:
ColumnBlockPositionSet(ScDocument& rDoc);