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/tools | |
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/tools')
-rw-r--r-- | include/tools/errinf.hxx | 2 | ||||
-rw-r--r-- | include/tools/weakbase.h | 2 | ||||
-rw-r--r-- | include/tools/weakbase.hxx | 5 |
3 files changed, 0 insertions, 9 deletions
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; |