diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-07 13:21:13 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-11 16:17:27 -0500 |
commit | 94934248e73defcf96d2e58089b0a731b191f015 (patch) | |
tree | 3ecb22ee3041d736ee371de7e03ddede86b4d3cd /sc/source | |
parent | fd50b465b94203e9980368481c579178cf93483a (diff) |
Make this thread safe too.
Change-Id: Ic8508f693f8a6e9bae513d6b5b6eaaaae618194b
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/mtvelements.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/mtvelements.cxx b/sc/source/core/data/mtvelements.cxx index 222aabd0334d..5a946067e032 100644 --- a/sc/source/core/data/mtvelements.cxx +++ b/sc/source/core/data/mtvelements.cxx @@ -30,6 +30,8 @@ ColumnBlockPositionSet::ColumnBlockPositionSet(ScDocument& rDoc) : mrDoc(rDoc) { ColumnBlockPosition* ColumnBlockPositionSet::getBlockPosition(SCTAB nTab, SCCOL nCol) { + osl::MutexGuard aGuard(&maMtxTables); + TablesType::iterator itTab = maTables.find(nTab); if (itTab == maTables.end()) { |