summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-17 22:42:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-19 11:19:12 +0100
commit3152f5a33e787e33ec0dfef8c75d7bbf95194c00 (patch)
treecc1049cdf9424a5891ca5e255374ef9ca0ff57f5 /include/editeng
parent729834abac1618aa2f0dcc6d774deb74f7c42bb3 (diff)
use more cppu::BaseMutex
Change-Id: Iddd7438161ead93b27cf8e8058ca5b1eae3d8001 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127075 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/AccessibleContextBase.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx
index 183c097fed0e..6b1321a03f05 100644
--- a/include/editeng/AccessibleContextBase.hxx
+++ b/include/editeng/AccessibleContextBase.hxx
@@ -27,6 +27,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <osl/mutex.hxx>
#include <cppuhelper/compbase.hxx>
+#include <cppuhelper/basemutex.hxx>
#include <editeng/editengdllapi.h>
namespace com::sun::star::accessibility { class XAccessibleStateSet; }
@@ -35,8 +36,6 @@ namespace com::sun::star::accessibility { struct AccessibleEventObject; }
namespace accessibility {
-struct MutexOwner {mutable ::osl::Mutex maMutex;};
-
/** @descr
This base class provides an implementation of the
AccessibleContext service. Apart from the
@@ -44,7 +43,7 @@ struct MutexOwner {mutable ::osl::Mutex maMutex;};
interfaces it supports the XServiceInfo interface.
*/
class EDITENG_DLLPUBLIC AccessibleContextBase
- : public MutexOwner,
+ : public cppu::BaseMutex,
public cppu::WeakComponentImplHelper<
css::accessibility::XAccessible,
css::accessibility::XAccessibleContext,