diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-08-02 20:08:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-03 08:50:31 +0200 |
commit | 567ceb70388296521095c63280c79a522e74fae2 (patch) | |
tree | 48409961decabea109bf0d239900c978cdf97b19 /svx | |
parent | 883a208bf4a705fde50e51428a8c8e5685ab91d4 (diff) |
osl::Mutex->std::mutex in createDefaultCross_3x3
Change-Id: Icdb311f855ddd2fe2ca2f66f14df8934332e6ef3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119912
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/primitive2d/sdrprimitivetools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/primitive2d/sdrprimitivetools.cxx b/svx/source/sdr/primitive2d/sdrprimitivetools.cxx index cf215a141b11..3612326f2307 100644 --- a/svx/source/sdr/primitive2d/sdrprimitivetools.cxx +++ b/svx/source/sdr/primitive2d/sdrprimitivetools.cxx @@ -18,9 +18,9 @@ */ #include <sdr/primitive2d/sdrprimitivetools.hxx> -#include <osl/mutex.hxx> #include <vcl/lazydelete.hxx> #include <vcl/BitmapTools.hxx> +#include <mutex> // helper methods @@ -31,9 +31,9 @@ namespace drawinglayer::primitive2d { static vcl::DeleteOnDeinit< BitmapEx > aRetVal(vcl::DeleteOnDeinitFlag::Empty); static basegfx::BColor aBColor; - static ::osl::Mutex aMutex; + static std::mutex aMutex; - ::osl::MutexGuard aGuard(aMutex); + std::lock_guard aGuard(aMutex); if(!aRetVal.get() || rBColor != aBColor) { |