diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-23 14:04:56 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-23 16:59:48 +0000 |
commit | a90a4810aeefbad270978ade194ced3b09d50449 (patch) | |
tree | 5545c4d42205a39a08ae085681ec8e04cb427cf5 /include/comphelper | |
parent | 6d9e4803806d1474039e25092a3c1ee268b0b9f8 (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 'include/comphelper')
-rw-r--r-- | include/comphelper/SettingsHelper.hxx | 1 | ||||
-rw-r--r-- | include/comphelper/accessiblecontexthelper.hxx | 16 | ||||
-rw-r--r-- | include/comphelper/componentbase.hxx | 4 | ||||
-rw-r--r-- | include/comphelper/componentguard.hxx | 4 | ||||
-rw-r--r-- | include/comphelper/sharedmutex.hxx | 3 |
5 files changed, 0 insertions, 28 deletions
diff --git a/include/comphelper/SettingsHelper.hxx b/include/comphelper/SettingsHelper.hxx index 9998f3c07b32..09ae01c471ec 100644 --- a/include/comphelper/SettingsHelper.hxx +++ b/include/comphelper/SettingsHelper.hxx @@ -43,7 +43,6 @@ namespace comphelper ChainableHelperNoState ( ChainablePropertySetInfo *pInfo, SolarMutex* pMutex = nullptr) : ChainablePropertySet ( pInfo, pMutex ) {} - virtual ~ChainableHelperNoState () throw( ) override {} css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override { return HelperBaseNoState::queryInterface( aType ); } void SAL_CALL acquire( ) throw () override diff --git a/include/comphelper/accessiblecontexthelper.hxx b/include/comphelper/accessiblecontexthelper.hxx index 1074d1e7138a..2143c7e2060a 100644 --- a/include/comphelper/accessiblecontexthelper.hxx +++ b/include/comphelper/accessiblecontexthelper.hxx @@ -274,11 +274,6 @@ namespace comphelper @precond <arg>_pContext</arg> != NULL */ inline OContextEntryGuard( OAccessibleContextHelper* _pContext ); - - /** destructs the guard. - <p>The context (it's mutex, respectively) is unlocked.</p> - */ - inline ~OContextEntryGuard(); }; @@ -289,11 +284,6 @@ namespace comphelper } - inline OContextEntryGuard::~OContextEntryGuard() - { - } - - //= OExternalLockGuard class OExternalLockGuard @@ -302,7 +292,6 @@ namespace comphelper { public: inline OExternalLockGuard( OAccessibleContextHelper* _pContext ); - inline ~OExternalLockGuard( ); }; @@ -318,11 +307,6 @@ namespace comphelper } - inline OExternalLockGuard::~OExternalLockGuard( ) - { - } - - } // namespace comphelper diff --git a/include/comphelper/componentbase.hxx b/include/comphelper/componentbase.hxx index 079c40d8f7bb..ac6acfa758bd 100644 --- a/include/comphelper/componentbase.hxx +++ b/include/comphelper/componentbase.hxx @@ -121,10 +121,6 @@ namespace comphelper _rComponent.checkDisposed( ComponentBase::GuardAccess() ); } - ~ComponentMethodGuard() - { - } - inline void clear() { m_aMutexGuard.clear(); diff --git a/include/comphelper/componentguard.hxx b/include/comphelper/componentguard.hxx index cb6013900a32..072b2857dabd 100644 --- a/include/comphelper/componentguard.hxx +++ b/include/comphelper/componentguard.hxx @@ -42,10 +42,6 @@ namespace comphelper throw css::lang::DisposedException( OUString(), &i_component ); } - ~ComponentGuard() - { - } - void clear() { m_aGuard.clear(); } void reset() { m_aGuard.reset(); } diff --git a/include/comphelper/sharedmutex.hxx b/include/comphelper/sharedmutex.hxx index 51974ac65e79..87e6717cbb84 100644 --- a/include/comphelper/sharedmutex.hxx +++ b/include/comphelper/sharedmutex.hxx @@ -36,9 +36,6 @@ namespace comphelper SharedMutex(); SharedMutex( const SharedMutex& ); SharedMutex& operator=( const SharedMutex& ); - ~SharedMutex() - { - } inline operator ::osl::Mutex& () { return *m_pMutexImpl; } |