summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-23 14:04:56 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-01-23 16:59:48 +0000
commita90a4810aeefbad270978ade194ced3b09d50449 (patch)
tree5545c4d42205a39a08ae085681ec8e04cb427cf5 /dbaccess
parent6d9e4803806d1474039e25092a3c1ee268b0b9f8 (diff)
loplugin: unnecessary destructor: comphelper..desktop
Change-Id: I9df4cb6a4b1734dac6141d6b0ee7a09e3e05f92e Reviewed-on: https://gerrit.libreoffice.org/33453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.hxx4
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.hxx4
-rw-r--r--dbaccess/source/ext/macromigration/migrationengine.cxx10
-rw-r--r--dbaccess/source/ui/app/AppController.cxx4
-rw-r--r--dbaccess/source/ui/misc/moduledbu.cxx5
5 files changed, 0 insertions, 27 deletions
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.hxx b/dbaccess/source/core/dataaccess/ModelImpl.hxx
index 91452777ee62..2c9511536d3b 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.hxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx
@@ -603,10 +603,6 @@ public:
m_SolarGuard.reset(); // SolarMutex first
m_OslGuard.reset();
}
-
- ~ModelMethodGuard()
- {
- }
};
} // namespace dbaccess
diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx
index afdd5ffb350c..1fd7d3c60765 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -716,10 +716,6 @@ public:
{
}
- ~DocumentGuard()
- {
- }
-
void clear()
{
ModelMethodGuard::clear();
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index 60b8a5952a1f..0a25424f0327 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -544,7 +544,6 @@ namespace dbmm
public:
explicit ScriptsStorage( MigrationLog& _rLogger );
ScriptsStorage( const Reference< XModel >& _rxDocument, MigrationLog& _rLogger );
- ~ScriptsStorage();
/** determines whether the instance is valid, i.e. refers to a valid root storage
for reading/storing scripts
@@ -606,10 +605,6 @@ namespace dbmm
bind( _rxDocument );
}
- ScriptsStorage::~ScriptsStorage()
- {
- }
-
bool ScriptsStorage::commit()
{
return lcl_commitStorage_nothrow( m_xScriptsStorage );
@@ -784,7 +779,6 @@ namespace dbmm
IMigrationProgress& _rProgress,
MigrationLog& _rLogger
);
- ~MigrationEngine_Impl();
inline size_t getFormCount() const { return m_nFormCount; }
inline size_t getReportCount()const { return m_nReportCount; }
@@ -917,10 +911,6 @@ namespace dbmm
OSL_VERIFY( impl_collectSubDocuments_nothrow() );
}
- MigrationEngine_Impl::~MigrationEngine_Impl()
- {
- }
-
bool MigrationEngine_Impl::migrateAll()
{
if ( m_aSubDocs.empty() )
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 0ff17e83ba5d..9a8ae98fda57 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -216,10 +216,6 @@ public:
m_aSelectionListeners.disposeAndClear( aEvent );
}
- ~SelectionNotifier()
- {
- }
-
struct SelectionGuardAccess { friend class SelectionGuard; private: SelectionGuardAccess() { } };
/** enters a block which modifies the selection of our owner.
diff --git a/dbaccess/source/ui/misc/moduledbu.cxx b/dbaccess/source/ui/misc/moduledbu.cxx
index 8f1bba1d6354..5c612ca7b2e2 100644
--- a/dbaccess/source/ui/misc/moduledbu.cxx
+++ b/dbaccess/source/ui/misc/moduledbu.cxx
@@ -40,7 +40,6 @@ class OModuleImpl
public:
/// ctor
OModuleImpl();
- ~OModuleImpl();
/// get the manager for the resources of the module
ResMgr* getResManager();
@@ -52,10 +51,6 @@ OModuleImpl::OModuleImpl()
}
-OModuleImpl::~OModuleImpl()
-{
-}
-
ResMgr* OModuleImpl::getResManager()
{
// note that this method is not threadsafe, which counts for the whole class !