diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-05 09:05:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-05 09:05:38 +0100 |
commit | d12c8a0f2cedfb6a15742b51854492ec3829dc36 (patch) | |
tree | efce40a289cdcbc8e30e9f60f3a4044172af038f /dbaccess/source | |
parent | 7aeeb77c7b98a141be4935fcd33be016547ae619 (diff) |
loplugin:unnecessaryoverride (dtors) in dbaccess
Change-Id: I22cf2fec8e543582a32b9a4f00221f1b2d864f7a
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/core/dataaccess/documentcontainer.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/filter/xml/dbloader2.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/dbloader.cxx | 6 |
4 files changed, 0 insertions, 20 deletions
diff --git a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx index 01330f5f078d..f1eec5faefcd 100644 --- a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx +++ b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx @@ -211,17 +211,12 @@ namespace virtual Reference< XPropertySet > SAL_CALL createDataAccessDescriptor( ) throw (RuntimeException, std::exception) override; DataAccessDescriptorFactory(); - virtual ~DataAccessDescriptorFactory() override; }; DataAccessDescriptorFactory::DataAccessDescriptorFactory() { } - DataAccessDescriptorFactory::~DataAccessDescriptorFactory() - { - } - OUString SAL_CALL DataAccessDescriptorFactory::getImplementationName() throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.dba.DataAccessDescriptorFactory" ); diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx b/dbaccess/source/core/dataaccess/documentcontainer.cxx index 51bebd79802c..07f4d7458e5e 100644 --- a/dbaccess/source/core/dataaccess/documentcontainer.cxx +++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx @@ -69,9 +69,6 @@ public: :m_aErrors( _rxContext ) { } - virtual ~LocalNameApproval() override - { - } void SAL_CALL approveElement( const OUString& _rName, const Reference< XInterface >& _rxElement ) override; }; diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index 16a21a7ab53d..bade845ff55a 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -233,7 +233,6 @@ private: DECL_LINK( OnStartTableWizard, void*, void ); public: explicit DBContentLoader(const Reference< XComponentContext >&); - virtual ~DBContentLoader() override; // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) override; @@ -267,11 +266,6 @@ DBContentLoader::DBContentLoader(const Reference< XComponentContext >& _rxFactor } -DBContentLoader::~DBContentLoader() -{ - -} - Reference< XInterface > SAL_CALL DBContentLoader::Create( const Reference< XMultiServiceFactory > & rSMgr ) { return *(new DBContentLoader( comphelper::getComponentContext(rSMgr) )); diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx index 04fa47ebff14..bfe6a76842c0 100644 --- a/dbaccess/source/ui/browser/dbloader.cxx +++ b/dbaccess/source/ui/browser/dbloader.cxx @@ -71,7 +71,6 @@ private: Reference< XComponentContext > m_xContext; public: explicit DBContentLoader(const Reference< XComponentContext >&); - virtual ~DBContentLoader() override; // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) override; @@ -101,11 +100,6 @@ DBContentLoader::DBContentLoader(const Reference< XComponentContext >& _rxContex } -DBContentLoader::~DBContentLoader() -{ - -} - extern "C" void SAL_CALL createRegistryInfo_DBContentLoader() { static ::dbaui::OMultiInstanceAutoRegistration< DBContentLoader > aAutoRegistration; |