diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 15:00:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:28:33 +0200 |
commit | 32e48476fe514955aca5f66f6f7a632341623f01 (patch) | |
tree | a23ba70f4654ef57a122e3368b49d73b7e50d24f /sc/inc | |
parent | 6ce4cf4ca87a2a7d0bbba6f7c94619de3e493263 (diff) |
use cppu::WeakImplHelper in ScDataPilotDescriptorBase
Change-Id: I16f7ba16f08c186bbdb32af5206089c497e1c8c1
Reviewed-on: https://gerrit.libreoffice.org/80411
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dapiuno.hxx | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index cc5067171293..e73e824c309c 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -128,13 +128,13 @@ public: }; // ScDataPilotDescriptorBase is never instantiated directly -class SAL_DLLPUBLIC_RTTI ScDataPilotDescriptorBase : public css::sheet::XDataPilotDescriptor, - public css::beans::XPropertySet, - public css::sheet::XDataPilotDataLayoutFieldSupplier, - public css::lang::XServiceInfo, - public css::lang::XUnoTunnel, - public css::lang::XTypeProvider, - public cppu::OWeakObject, +class SAL_DLLPUBLIC_RTTI ScDataPilotDescriptorBase : + public cppu::WeakImplHelper< + css::sheet::XDataPilotDescriptor, + css::beans::XPropertySet, + css::sheet::XDataPilotDataLayoutFieldSupplier, + css::lang::XServiceInfo, + css::lang::XUnoTunnel>, public SfxListener { private: @@ -145,11 +145,6 @@ public: ScDataPilotDescriptorBase(ScDocShell* pDocSh); virtual ~ScDataPilotDescriptorBase() override; - virtual css::uno::Any SAL_CALL queryInterface( - const css::uno::Type & rType ) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; ScDocShell* GetDocShell() const { return pDocShell; } @@ -204,10 +199,6 @@ public: SC_DLLPUBLIC static const css::uno::Sequence<sal_Int8>& getUnoTunnelId(); - // XTypeProvider (override in ScDataPilotTableObj) - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; - // XServiceInfo is in derived classes }; |