diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-29 08:23:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-29 17:58:05 +0100 |
commit | b66bc8fb918acd19ee0bd02312e7506db43d8317 (patch) | |
tree | 684eaabc7d3beb5c8d02ef005e674f5e4afd7e63 /include/svx | |
parent | 0c920406888f141d163ce2df01e707404f9e7acd (diff) |
use comphelper::WeakComponentImplHelper in svx::sidebar::SelectionChangeHandler
Change-Id: I7f60374710f5768efef07ee993757558a225c111
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127698
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sidebar/SelectionChangeHandler.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/svx/sidebar/SelectionChangeHandler.hxx b/include/svx/sidebar/SelectionChangeHandler.hxx index 4f5c5b818b5f..a4d5dbc32f96 100644 --- a/include/svx/sidebar/SelectionChangeHandler.hxx +++ b/include/svx/sidebar/SelectionChangeHandler.hxx @@ -24,8 +24,7 @@ #include <com/sun/star/frame/XController.hpp> #include <com/sun/star/view/XSelectionChangeListener.hpp> -#include <cppuhelper/compbase.hxx> -#include <cppuhelper/basemutex.hxx> +#include <comphelper/compbase.hxx> #include <functional> @@ -34,13 +33,12 @@ class SdrMarkView; namespace svx::sidebar { -typedef cppu::WeakComponentImplHelper< +typedef comphelper::WeakComponentImplHelper< css::view::XSelectionChangeListener > SelectionChangeHandlerInterfaceBase; class SVX_DLLPUBLIC SelectionChangeHandler final - : private ::cppu::BaseMutex, - public SelectionChangeHandlerInterfaceBase + : public SelectionChangeHandlerInterfaceBase { public: SelectionChangeHandler ( @@ -53,7 +51,7 @@ public: virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent) override; - virtual void SAL_CALL disposing() override; + virtual void disposing(std::unique_lock<std::mutex>&) override; void Connect(); void Disconnect(); |