diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-05 17:10:24 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-06 20:40:25 -0500 |
commit | 719c3fb46bb38c69daea617ea9aaafc72505684d (patch) | |
tree | 7a32909591a4adf8c3147f2ec4132e2acdd30476 /sc/inc/externalrefmgr.hxx | |
parent | 112fb381299ed917b729b17066974a3dc9c3bafd (diff) |
Add mutex for external source document meta-data container.
These get updated from reference parser code (ScAddress, ScRange etc)
which may be run from multiple threads.
Change-Id: I5a1aaa4b51d9b9fb032458eb5e89f0652887184e
Diffstat (limited to 'sc/inc/externalrefmgr.hxx')
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index c5a73aea8a7a..6156abb06ac4 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -793,8 +793,12 @@ private: NumFmtMap maNumFormatMap; - /** original source file index. */ - ::std::vector<SrcFileData> maSrcFiles; + /** + * List of external source document meta-data, used to keep track of + * external document identifiers. + */ + std::vector<SrcFileData> maSrcFiles; + mutable osl::Mutex maMtxSrcFiles; /** Status whether in reference marking state. See isInReferenceMarking(). */ bool mbInReferenceMarking:1; |