diff options
Diffstat (limited to 'chart2/source/controller/sidebar/Chart2PanelFactory.hxx')
-rw-r--r-- | chart2/source/controller/sidebar/Chart2PanelFactory.hxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/chart2/source/controller/sidebar/Chart2PanelFactory.hxx b/chart2/source/controller/sidebar/Chart2PanelFactory.hxx index c91c144422ef..87619f647d70 100644 --- a/chart2/source/controller/sidebar/Chart2PanelFactory.hxx +++ b/chart2/source/controller/sidebar/Chart2PanelFactory.hxx @@ -16,24 +16,21 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_INC_SCPANELFACTORY_HXX -#define INCLUDED_SC_INC_SCPANELFACTORY_HXX +#pragma once -#include <cppuhelper/compbase.hxx> -#include <cppuhelper/basemutex.hxx> +#include <comphelper/compbase.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/ui/XUIElementFactory.hpp> 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(); @@ -56,6 +53,4 @@ public: } // end of namespace chart::sidebar -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |