summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-20 19:00:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-04 07:06:26 +0100
commit300308480c0d4d660a2899a26c08275b87c2c303 (patch)
tree6631f9bc66e1fb0b8412b4b2bd9604b90e609905 /sc/source
parentf3d795aca9aecb0911771c26fc41bb46a2039b22 (diff)
osl::Mutex->std::mutex in ScDocument
Change-Id: I163b7e6b7403f9f489b4965861241280cfc37e02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127917 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/documen2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 478a42c62f52..48bd7737dcfe 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -1167,7 +1167,7 @@ ScLookupCache & ScDocument::GetLookupCache( const ScRange & rRange, ScInterprete
pCache = findIt->second.get();
// The StartListeningArea() call is not thread-safe, as all threads
// would access the same SvtBroadcaster.
- osl::MutexGuard guard( mScLookupMutex );
+ std::unique_lock guard( mScLookupMutex );
StartListeningArea(rRange, false, pCache);
}
else