diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-21 15:49:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-22 10:15:29 +0000 |
commit | a1d3a0f8ec2107da739f50ae0606d176c28a32d0 (patch) | |
tree | 3644c81223828af70fe33ed6529022165faaecd1 /canvas/source/tools | |
parent | 24b3e4a5ba91d604ab68f49347ab065edaf48218 (diff) |
BaseMutex->std::mutex in canvas::CachedPrimitiveBase
Change-Id: I9f7c23a4880ea09f3c9a98ad7d27b27bf35483ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147421
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/tools')
-rw-r--r-- | canvas/source/tools/cachedprimitivebase.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/canvas/source/tools/cachedprimitivebase.cxx b/canvas/source/tools/cachedprimitivebase.cxx index 652e9c900613..7aaf3d58ac5e 100644 --- a/canvas/source/tools/cachedprimitivebase.cxx +++ b/canvas/source/tools/cachedprimitivebase.cxx @@ -34,7 +34,6 @@ namespace canvas { CachedPrimitiveBase::CachedPrimitiveBase( rendering::ViewState aUsedViewState, uno::Reference< rendering::XCanvas > xTarget ) : - CachedPrimitiveBase_Base( m_aMutex ), maUsedViewState(std::move( aUsedViewState )), mxTarget(std::move( xTarget )) { @@ -44,10 +43,8 @@ namespace canvas { } - void SAL_CALL CachedPrimitiveBase::disposing() + void CachedPrimitiveBase::disposing(std::unique_lock<std::mutex>& /*rGuard*/) { - ::osl::MutexGuard aGuard( m_aMutex ); - maUsedViewState.Clip.clear(); mxTarget.clear(); } |