summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-07-18 15:06:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-18 21:33:26 +0200
commitb1d2383a3311811a283bea720d3f0f1bfcb0fc3c (patch)
tree172c61fdfa9621172cd4014101fed9817c8a4364 /oox/source
parent48d60a717a588d93e82268dc80018ea9970c4e0e (diff)
osl::Mutex->std::mutex in GenericPropertySet
Change-Id: Iee437489d40d038349f9faf860f2eca971932c6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119142 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/helper/propertymap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 15d8f65f1175..e069efe3c537 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -45,7 +45,7 @@ using ::com::sun::star::text::WritingMode;
#include <com/sun/star/drawing/HomogenMatrix3.hpp>
#include <cppuhelper/implbase.hxx>
#include <osl/diagnose.h>
-#include <osl/mutex.hxx>
+#include <mutex>
#include <sal/log.hxx>
#include <oox/token/properties.hxx>
#include <oox/token/propertynames.hxx>
@@ -109,7 +109,7 @@ public:
virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override;
private:
- osl::Mutex mMutex;
+ std::mutex mMutex;
PropertyNameMap maPropMap;
};
@@ -125,7 +125,7 @@ Reference< XPropertySetInfo > SAL_CALL GenericPropertySet::getPropertySetInfo()
void SAL_CALL GenericPropertySet::setPropertyValue( const OUString& rPropertyName, const Any& rValue )
{
- ::osl::MutexGuard aGuard( mMutex );
+ std::lock_guard aGuard( mMutex );
maPropMap[ rPropertyName ] = rValue;
}