use comphelper::WeakComponentImplHelper in ChartPanelFactory
Change-Id: Id81031b061981771a5f5dc91de3f5a404857164e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127692 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
d26d13f49c
commit
b29e3131ea
@ -40,7 +40,6 @@ using namespace css::uno;
|
|||||||
namespace chart::sidebar {
|
namespace chart::sidebar {
|
||||||
|
|
||||||
ChartPanelFactory::ChartPanelFactory()
|
ChartPanelFactory::ChartPanelFactory()
|
||||||
: PanelFactoryInterfaceBase(m_aMutex)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,21 +18,19 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cppuhelper/compbase.hxx>
|
#include <comphelper/compbase.hxx>
|
||||||
#include <cppuhelper/basemutex.hxx>
|
|
||||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||||
#include <com/sun/star/ui/XUIElementFactory.hpp>
|
#include <com/sun/star/ui/XUIElementFactory.hpp>
|
||||||
|
|
||||||
|
|
||||||
namespace chart::sidebar {
|
namespace chart::sidebar {
|
||||||
|
|
||||||
typedef ::cppu::WeakComponentImplHelper <
|
typedef comphelper::WeakComponentImplHelper <
|
||||||
css::ui::XUIElementFactory, css::lang::XServiceInfo
|
css::ui::XUIElementFactory, css::lang::XServiceInfo
|
||||||
> PanelFactoryInterfaceBase;
|
> PanelFactoryInterfaceBase;
|
||||||
|
|
||||||
class ChartPanelFactory
|
class ChartPanelFactory final
|
||||||
: private ::cppu::BaseMutex,
|
: public PanelFactoryInterfaceBase
|
||||||
public PanelFactoryInterfaceBase
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ChartPanelFactory();
|
ChartPanelFactory();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user