From 2e1cf05f3b1a7d111c538a2588e891aad67792bb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 18 Dec 2021 09:48:44 +0200 Subject: use more cppu::BaseMutex Change-Id: Ida7f6b536f5c07c929ddb21c97be6e9dc4a2b2f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127080 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/deployment/registry/inc/dp_backend.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'desktop/source/deployment/registry/inc') diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h index e398b0a802f0..4a9353bf415a 100644 --- a/desktop/source/deployment/registry/inc/dp_backend.h +++ b/desktop/source/deployment/registry/inc/dp_backend.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -42,7 +43,7 @@ typedef ::cppu::WeakComponentImplHelper< css::deployment::XPackage > t_PackageBase; -class Package : protected ::dp_misc::MutexHolder, public t_PackageBase +class Package : protected cppu::BaseMutex, public t_PackageBase { PackageRegistryBackend * getMyBackend() const; void processPackage_impl( @@ -192,7 +193,7 @@ typedef ::cppu::WeakComponentImplHelper< class PackageRegistryBackend - : protected ::dp_misc::MutexHolder, public t_BackendBase + : protected cppu::BaseMutex, public t_BackendBase { //The map held originally WeakReferences. The map entries are removed in the disposing //function, which is called when the XPackages are destructed or they are -- cgit v1.2.3