From 675df4a72e7cc695fec18869dd015a872c287c6e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 24 Nov 2016 11:28:15 +0100 Subject: loplugin:unnecessaryoverride (dtors) in vbahelper Change-Id: I809869a438b710b2c4722027cc78d39a81b0a092 --- vbahelper/source/msforms/vbacontrol.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'vbahelper') diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index 69e16518838c..7d72fc86caa8 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -102,7 +102,7 @@ private: ScVbaControl *pControl; public: explicit ScVbaControlListener( ScVbaControl *pTmpControl ); - virtual ~ScVbaControlListener() override; + virtual void SAL_CALL disposing( const lang::EventObject& rEventObject ) throw( uno::RuntimeException, std::exception ) override; }; @@ -110,10 +110,6 @@ ScVbaControlListener::ScVbaControlListener( ScVbaControl *pTmpControl ): pContro { } -ScVbaControlListener::~ScVbaControlListener() -{ -} - void SAL_CALL ScVbaControlListener::disposing( const lang::EventObject& ) throw( uno::RuntimeException, std::exception ) { -- cgit