diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-26 10:57:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-26 10:07:23 +0000 |
commit | a49cbc58933c30d82bab458f2ed5af622bea4690 (patch) | |
tree | 7a6f2e7b9cd37c8cfee5b17e63bc773ddef4771c /toolkit | |
parent | 788368633a19bb605fd36ae413d1d70bfc0de875 (diff) |
loplugin: unnecessary destructor test..unotools
Change-Id: I1fd8a3f39b875d1920759f42e37f4c9d6785d62e
Reviewed-on: https://gerrit.libreoffice.org/33573
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/stylesettings.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 7 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolcontainer.cxx | 6 |
3 files changed, 0 insertions, 17 deletions
diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index 1ed728c4b485..3310c044c08b 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -87,10 +87,6 @@ namespace toolkit throw DisposedException(); } - ~StyleMethodGuard() - { - } - private: SolarMutexGuard m_aGuard; }; diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 9d862e26c0ec..8b4da17e05a3 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -186,8 +186,6 @@ public: inline VclContainerListenerMultiplexer& getContainerListeners() { return maContainerListeners; } inline TopWindowListenerMultiplexer& getTopWindowListeners() { return maTopWindowListeners; } - ~VCLXWindowImpl(); - private: DECL_LINK( OnProcessCallbacks, void*, void ); }; @@ -223,11 +221,6 @@ VCLXWindowImpl::VCLXWindowImpl( VCLXWindow& _rAntiImpl, bool _bWithDefaultProps { } -VCLXWindowImpl::~VCLXWindowImpl() -{ -} - - void VCLXWindowImpl::disposing() { SolarMutexGuard aGuard; diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx index e53da45c3d9b..d752eb177b9a 100644 --- a/toolkit/source/controls/unocontrolcontainer.cxx +++ b/toolkit/source/controls/unocontrolcontainer.cxx @@ -73,7 +73,6 @@ private: public: UnoControlHolderList(); - ~UnoControlHolderList(); /** adds a control with the given name to the list @param _rxControl @@ -165,11 +164,6 @@ UnoControlHolderList::UnoControlHolderList() } -UnoControlHolderList::~UnoControlHolderList() -{ -} - - UnoControlHolderList::ControlIdentifier UnoControlHolderList::addControl( const uno::Reference< awt::XControl >& _rxControl, const OUString* _pName ) { return impl_addControl( _rxControl, _pName ); |