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();