From b29e3131eace8f97d705a2cd76b18e18fa982654 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Dec 2021 21:27:16 +0200 Subject: [PATCH] use comphelper::WeakComponentImplHelper in ChartPanelFactory Change-Id: Id81031b061981771a5f5dc91de3f5a404857164e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127692 Tested-by: Jenkins Reviewed-by: Noel Grandin --- .../source/controller/sidebar/Chart2PanelFactory.cxx | 1 - .../source/controller/sidebar/Chart2PanelFactory.hxx | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/chart2/source/controller/sidebar/Chart2PanelFactory.cxx b/chart2/source/controller/sidebar/Chart2PanelFactory.cxx index b5bde521d031..081322b09408 100644 --- a/chart2/source/controller/sidebar/Chart2PanelFactory.cxx +++ b/chart2/source/controller/sidebar/Chart2PanelFactory.cxx @@ -40,7 +40,6 @@ using namespace css::uno; namespace chart::sidebar { ChartPanelFactory::ChartPanelFactory() - : PanelFactoryInterfaceBase(m_aMutex) { } diff --git a/chart2/source/controller/sidebar/Chart2PanelFactory.hxx b/chart2/source/controller/sidebar/Chart2PanelFactory.hxx index b218f4e41ebc..87619f647d70 100644 --- a/chart2/source/controller/sidebar/Chart2PanelFactory.hxx +++ b/chart2/source/controller/sidebar/Chart2PanelFactory.hxx @@ -18,21 +18,19 @@ */ #pragma once -#include -#include +#include #include #include namespace chart::sidebar { -typedef ::cppu::WeakComponentImplHelper < +typedef comphelper::WeakComponentImplHelper < css::ui::XUIElementFactory, css::lang::XServiceInfo > PanelFactoryInterfaceBase; -class ChartPanelFactory - : private ::cppu::BaseMutex, - public PanelFactoryInterfaceBase +class ChartPanelFactory final + : public PanelFactoryInterfaceBase { public: ChartPanelFactory();