summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-07-17 18:57:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-18 09:05:41 +0200
commit5060c0c8b9070c3093bf036de31c551ceb109ca7 (patch)
treefa0f9a14bfd0ad1f2828c87f2e927a39aa0544d2 /unotools
parente6597ab3db99b70ea35ab071bc8634db63890224 (diff)
osl::Mutex->std::mutex in ModeratorsActiveDataStreamer
Change-Id: I9ea32f7f843a0255ce37de8b95d9fc9d29c43157 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119111 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 4ed6dec1a236..1afa874d49f8 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -308,14 +308,14 @@ public:
virtual Reference<XStream> SAL_CALL getStream () override
{
- osl::MutexGuard aGuard(m_aMutex);
+ std::lock_guard aGuard(m_aMutex);
return m_xStream;
}
private:
Moderator& m_aModerator;
- osl::Mutex m_aMutex;
+ std::mutex m_aMutex;
Reference<XStream> m_xStream;
};
@@ -376,7 +376,7 @@ ModeratorsActiveDataStreamer::setStream (
)
{
m_aModerator.setStream(rxStream);
- osl::MutexGuard aGuard(m_aMutex);
+ std::lock_guard aGuard(m_aMutex);
m_xStream = rxStream;
}