summaryrefslogtreecommitdiff
path: root/toolkit/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-03 21:26:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-04 10:06:06 +0200
commit330ba10a212f007babb2f3d27de88197936291dd (patch)
treea086822301f34d843e3a9220d4aa522349e60e32 /toolkit/inc
parent48c5ba19e4f4a1ad5a88b5e6f0816c080e1253ec (diff)
osl::Mutex->std::mutex in VCLXRegion
Change-Id: I8110539975721f515707f42f29dda94346805f93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119952 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/inc')
-rw-r--r--toolkit/inc/awt/vclxregion.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/toolkit/inc/awt/vclxregion.hxx b/toolkit/inc/awt/vclxregion.hxx
index 4f59416ae77d..4ba3211cc2c7 100644
--- a/toolkit/inc/awt/vclxregion.hxx
+++ b/toolkit/inc/awt/vclxregion.hxx
@@ -25,7 +25,7 @@
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/implbase.hxx>
-#include <osl/mutex.hxx>
+#include <mutex>
#include <vcl/region.hxx>
@@ -36,11 +36,9 @@ class VCLXRegion final : public cppu::WeakImplHelper<
css::awt::XRegion,
css::lang::XUnoTunnel>
{
- ::osl::Mutex maMutex;
+ std::mutex maMutex;
vcl::Region maRegion;
- ::osl::Mutex& GetMutex() { return maMutex; }
-
public:
VCLXRegion();
virtual ~VCLXRegion() override;