summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-26 09:56:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-27 08:01:20 +0100
commit36df4a8929149ef106a0cd844eefa01e17497250 (patch)
tree4c95054580339b464260f8f8263ec690849b5949 /sw/source/uibase/inc
parente0770936a792be422aeebbece1004018e51d1eaf (diff)
use comphelper::WeakComponentImplHelper in SwXAutoTextEntry
Change-Id: Idac9fbf80c69df436b3583a2022e28eeeee1721a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127533 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/unoatxt.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/uibase/inc/unoatxt.hxx b/sw/source/uibase/inc/unoatxt.hxx
index 633a0630a4b2..b28a986ef90a 100644
--- a/sw/source/uibase/inc/unoatxt.hxx
+++ b/sw/source/uibase/inc/unoatxt.hxx
@@ -30,8 +30,7 @@
#include <com/sun/star/text/XText.hpp>
#include <svl/itemprop.hxx>
#include <svl/lstner.hxx>
-#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase.hxx>
+#include <comphelper/compbase.hxx>
#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
#include <svtools/unoevent.hxx>
@@ -152,8 +151,7 @@ public:
class SwXAutoTextEntry final
:public SfxListener
- ,public cppu::BaseMutex
- ,public cppu::WeakComponentImplHelper
+ ,public comphelper::WeakComponentImplHelper
<
css::text::XAutoTextEntry,
css::lang::XServiceInfo,
@@ -176,7 +174,7 @@ class SwXAutoTextEntry final
}
void GetBodyText ();
- void SAL_CALL disposing() override;
+ void disposing(std::unique_lock<std::mutex>&) override;
/** ensure that the current content (which may only be in-memory so far) is flushed to the auto text group file