diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-12 19:48:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-14 08:39:22 +0200 |
commit | e61ce6b317be45e405ba9b45aa79d2f1dac41e19 (patch) | |
tree | 6f7e67685930c7bd1a1fa3cac516d484a85a478e /filter | |
parent | 2d93fd2631b4f8ceca1068c1779963424ff90e80 (diff) |
use comphelper::WeakComponentImplHelper for TerminateDetection
Change-Id: I6184bdef7b487f71549cd50c96c764a93ef791de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134274
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/typedetection.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx index 79145e836d17..11441039234c 100644 --- a/filter/source/config/cache/typedetection.hxx +++ b/filter/source/config/cache/typedetection.hxx @@ -24,6 +24,7 @@ #include <unotools/mediadescriptor.hxx> #include <cppuhelper/compbase.hxx> #include <cppuhelper/implbase.hxx> +#include <comphelper/compbase.hxx> namespace filter::config { @@ -316,15 +317,14 @@ public: }; -class TerminateDetection : public cppu::WeakComponentImplHelper<css::frame::XTerminateListener> +class TerminateDetection : public comphelper::WeakComponentImplHelper<css::frame::XTerminateListener> { private: - osl::Mutex m_aLock; TypeDetection* m_pTypeDetection; public: - using cppu::WeakComponentImplHelperBase::disposing; + using comphelper::WeakComponentImplHelperBase::disposing; virtual void SAL_CALL disposing(const css::lang::EventObject&) override { } @@ -340,8 +340,7 @@ public: } TerminateDetection(TypeDetection* pTypeDetection) - : cppu::WeakComponentImplHelper<css::frame::XTerminateListener>(m_aLock) - , m_pTypeDetection(pTypeDetection) + : m_pTypeDetection(pTypeDetection) { } }; |