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 /include | |
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 'include')
-rw-r--r-- | include/test/testinteractionhandler.hxx | 3 | ||||
-rw-r--r-- | include/toolkit/controls/unocontrols.hxx | 1 | ||||
-rw-r--r-- | include/tools/errinf.hxx | 2 | ||||
-rw-r--r-- | include/tools/weakbase.h | 2 | ||||
-rw-r--r-- | include/tools/weakbase.hxx | 5 | ||||
-rw-r--r-- | include/unotools/confignode.hxx | 3 |
6 files changed, 0 insertions, 16 deletions
diff --git a/include/test/testinteractionhandler.hxx b/include/test/testinteractionhandler.hxx index 3e8c810774cc..a8f4acc0fd67 100644 --- a/include/test/testinteractionhandler.hxx +++ b/include/test/testinteractionhandler.hxx @@ -41,9 +41,6 @@ public: , mbPasswordRequested(false) {} - virtual ~TestInteractionHandler() override - {} - bool wasPasswordRequested() { return mbPasswordRequested; diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx index 4a8896b44ec6..84c602620fc2 100644 --- a/include/toolkit/controls/unocontrols.hxx +++ b/include/toolkit/controls/unocontrols.hxx @@ -543,7 +543,6 @@ private: public: UnoCheckBoxControl(); - virtual ~UnoCheckBoxControl() override {} OUString GetComponentServiceName() override; void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/include/tools/errinf.hxx b/include/tools/errinf.hxx index 8d79815f5e1d..3a9af9a568b8 100644 --- a/include/tools/errinf.hxx +++ b/include/tools/errinf.hxx @@ -91,8 +91,6 @@ public: const OUString & rTheArg2, sal_uInt16 nMask): DynamicErrorInfo(nUserID, nMask), aArg1(rTheArg1), aArg2(rTheArg2) {} - virtual ~TwoStringErrorInfo() override {} - const OUString& GetArg1() const { return aArg1; } const OUString& GetArg2() const { return aArg2; } }; diff --git a/include/tools/weakbase.h b/include/tools/weakbase.h index f8c74283e3ad..bacde04eaf4b 100644 --- a/include/tools/weakbase.h +++ b/include/tools/weakbase.h @@ -84,8 +84,6 @@ public: /** constructs a reference from another reference */ inline WeakReference( WeakReference< reference_type >&& rWeakRef ); - inline ~WeakReference(); - /** returns true if the reference object is not null and still alive */ inline bool is() const; diff --git a/include/tools/weakbase.hxx b/include/tools/weakbase.hxx index 7b693cc73efc..bee866c190bf 100644 --- a/include/tools/weakbase.hxx +++ b/include/tools/weakbase.hxx @@ -55,11 +55,6 @@ inline WeakReference< reference_type >::WeakReference( WeakReference< reference_ } template< class reference_type > -inline WeakReference< reference_type >::~WeakReference() -{ -} - -template< class reference_type > inline bool WeakReference< reference_type >::is() const { return mpWeakConnection->mpReference != 0; diff --git a/include/unotools/confignode.hxx b/include/unotools/confignode.hxx index a59e30454a3c..217203f4c3e9 100644 --- a/include/unotools/confignode.hxx +++ b/include/unotools/confignode.hxx @@ -79,9 +79,6 @@ namespace utl OConfigurationNode& operator=(const OConfigurationNode& _rSource); OConfigurationNode& operator=(OConfigurationNode&& _rSource); - /// dtor - virtual ~OConfigurationNode() override {} - /// returns the local name of the node OUString getLocalName() const; |