summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
index f39f8a380e91..8e86cb2d5c0f 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
@@ -21,6 +21,7 @@
#include <osl/mutex.hxx>
#include <cppuhelper/implbase.hxx>
+#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/util/XOfficeInstallationDirectories.hpp>
@@ -37,12 +38,7 @@ typedef cppu::WeakImplHelper<
css::util::XOfficeInstallationDirectories,
css::lang::XServiceInfo > UnoImplBase;
-struct mutex_holder
-{
- osl::Mutex m_aMutex;
-};
-
-class OfficeInstallationDirectories : public mutex_holder, public UnoImplBase
+class OfficeInstallationDirectories : public cppu::BaseMutex, public UnoImplBase
{
public:
explicit OfficeInstallationDirectories(