diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-24 13:04:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-24 17:57:10 +0100 |
commit | c55d1affc6299feed36145a01279b641bb60ac57 (patch) | |
tree | d0ae9d0cb0accdf457bc5ae384aa88abb10484f2 /svx/source | |
parent | 82807f810b3300111820e9b2fa9a82e3e35a313a (diff) |
use comphelper::WeakComponentImplHelper in PanelFactory
Change-Id: I936fd58fdb626d6707cf672f188cd8570269bc44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127412
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sidebar/PanelFactory.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/svx/source/sidebar/PanelFactory.cxx b/svx/source/sidebar/PanelFactory.cxx index b839100fbcf6..f55575d1ab97 100644 --- a/svx/source/sidebar/PanelFactory.cxx +++ b/svx/source/sidebar/PanelFactory.cxx @@ -41,8 +41,7 @@ #include <sfx2/templdlg.hxx> #include <vcl/weldutils.hxx> #include <comphelper/namedvaluecollection.hxx> -#include <cppuhelper/basemutex.hxx> -#include <cppuhelper/compbase.hxx> +#include <comphelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/ui/XSidebar.hpp> @@ -61,12 +60,11 @@ constexpr OUStringLiteral IMPLEMENTATION_NAME = u"org.apache.openoffice.comp.svx constexpr OUStringLiteral SERVICE_NAME = u"com.sun.star.ui.UIElementFactory"; */ -typedef ::cppu::WeakComponentImplHelper< css::ui::XUIElementFactory, css::lang::XServiceInfo > +typedef comphelper::WeakComponentImplHelper< css::ui::XUIElementFactory, css::lang::XServiceInfo > PanelFactoryInterfaceBase; class PanelFactory - : private ::cppu::BaseMutex, - public PanelFactoryInterfaceBase + : public PanelFactoryInterfaceBase { public: PanelFactory(); @@ -89,7 +87,6 @@ public: }; PanelFactory::PanelFactory() - : PanelFactoryInterfaceBase(m_aMutex) { } |