diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-22 20:06:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-24 08:21:00 +0100 |
commit | 252dd254b5b29298457b889623783152e9bed534 (patch) | |
tree | 07583e1f12bacc6ab8e40b35f4832c27076b84da /include/editeng | |
parent | 54115790926a5964534472dff7e4661ea34acb28 (diff) |
new comphelper::WeakImplComponentHelper
to replace the cppu:: equivalent with a lightweight version
that uses std::mutex instead of osl::Mutex
Change-Id: I1b7873a0c2d9cda21f529e43a4ac2fa7574c91a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127335
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/AccessibleEditableTextPara.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx index 34fab512fbcb..02f907704bdb 100644 --- a/include/editeng/AccessibleEditableTextPara.hxx +++ b/include/editeng/AccessibleEditableTextPara.hxx @@ -23,8 +23,7 @@ #include <config_options.h> #include <rtl/ustring.hxx> #include <tools/gen.hxx> -#include <cppuhelper/compbase.hxx> -#include <cppuhelper/basemutex.hxx> +#include <comphelper/compbase.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -51,7 +50,7 @@ namespace accessibility { class AccessibleImageBullet; } namespace accessibility { - typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessible, + typedef ::comphelper::WeakComponentImplHelper< css::accessibility::XAccessible, css::accessibility::XAccessibleContext, css::accessibility::XAccessibleComponent, css::accessibility::XAccessibleEditableText, @@ -63,7 +62,7 @@ namespace accessibility /** This class implements the actual text paragraphs for the EditEngine/Outliner UAA */ - class UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) AccessibleEditableTextPara final : public ::cppu::BaseMutex, public AccessibleTextParaInterfaceBase, private ::comphelper::OCommonAccessibleText + class UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) AccessibleEditableTextPara final : public AccessibleTextParaInterfaceBase, private ::comphelper::OCommonAccessibleText { // override OCommonAccessibleText methods |