From aafc083257203d09fb15cbc16dd86539a7df5856 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 Nov 2016 21:48:33 +0100 Subject: loplugin:unnecessaryoverride (dtors) in vcl Change-Id: I38e24991308bf52e75259a30d332145aef9a757b --- vcl/source/components/dtranscomp.cxx | 20 -------------------- vcl/source/components/fontident.cxx | 5 ----- 2 files changed, 25 deletions(-) (limited to 'vcl/source/components') diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx index 9456ca5789a5..fcdf217c25d3 100644 --- a/vcl/source/components/dtranscomp.cxx +++ b/vcl/source/components/dtranscomp.cxx @@ -68,7 +68,6 @@ public: XServiceInfo >( m_aMutex ) {} - virtual ~GenericClipboard() override; /* * XServiceInfo @@ -114,10 +113,6 @@ public: throw(RuntimeException, std::exception) override; }; -GenericClipboard::~GenericClipboard() -{ -} - Sequence< OUString > GenericClipboard::getSupportedServiceNames_static() { Sequence< OUString > aRet { "com.sun.star.datatransfer.clipboard.SystemClipboard" }; @@ -203,7 +198,6 @@ class ClipboardFactory : public ::cppu::WeakComponentImplHelper< osl::Mutex m_aMutex; public: ClipboardFactory(); - virtual ~ClipboardFactory() override; /* * XSingleServiceFactory @@ -219,10 +213,6 @@ ClipboardFactory::ClipboardFactory() : { } -ClipboardFactory::~ClipboardFactory() -{ -} - Reference< XInterface > ClipboardFactory::createInstance() throw(std::exception) { return createInstanceWithArguments( Sequence< Any >() ); @@ -265,7 +255,6 @@ class GenericDragSource : public cppu::WeakComponentImplHelper< osl::Mutex m_aMutex; public: GenericDragSource() : WeakComponentImplHelper( m_aMutex ) {} - virtual ~GenericDragSource() override; // XDragSource virtual sal_Bool SAL_CALL isDragImageSupported() throw(std::exception) override; @@ -299,10 +288,6 @@ public: } }; -GenericDragSource::~GenericDragSource() -{ -} - sal_Bool GenericDragSource::isDragImageSupported() throw(std::exception) { return false; @@ -372,7 +357,6 @@ class GenericDropTarget : public cppu::WeakComponentImplHelper< public: GenericDropTarget() : WeakComponentImplHelper( m_aMutex ) {} - virtual ~GenericDropTarget() override; // XInitialization virtual void SAL_CALL initialize( const Sequence< Any >& args ) throw ( Exception, std::exception ) override; @@ -404,10 +388,6 @@ public: } }; -GenericDropTarget::~GenericDropTarget() -{ -} - void GenericDropTarget::initialize( const Sequence< Any >& ) throw( Exception, std::exception ) { } diff --git a/vcl/source/components/fontident.cxx b/vcl/source/components/fontident.cxx index 11d441830855..9568c4c846cb 100644 --- a/vcl/source/components/fontident.cxx +++ b/vcl/source/components/fontident.cxx @@ -50,7 +50,6 @@ class FontIdentificator : public ::cppu::WeakAggImplHelper3< XMaterialHolder, XI Font m_aFont; public: FontIdentificator() {} - virtual ~FontIdentificator() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw (RuntimeException, std::exception) override; @@ -65,10 +64,6 @@ FontIdentificator() {} }; -FontIdentificator::~FontIdentificator() -{ -} - void SAL_CALL FontIdentificator::initialize( const Sequence& i_rArgs ) throw(Exception,RuntimeException, std::exception) { if( !ImplGetSVData() ) -- cgit v1.2.3