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 /ucb | |
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 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_datasupplier.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ext/ucpext_datasupplier.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVException.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/LinkSequence.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/LockEntrySequence.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/LockSequence.cxx | 2 |
6 files changed, 0 insertions, 15 deletions
diff --git a/ucb/source/ucp/cmis/cmis_datasupplier.hxx b/ucb/source/ucp/cmis/cmis_datasupplier.hxx index de4903e4ae3e..2e3dd1ba272b 100644 --- a/ucb/source/ucp/cmis/cmis_datasupplier.hxx +++ b/ucb/source/ucp/cmis/cmis_datasupplier.hxx @@ -29,10 +29,6 @@ namespace cmis explicit ResultListEntry( css::uno::Reference< css::ucb::XContent > const & xCnt ) : xContent( xCnt ) { } - - ~ResultListEntry() - { - } }; typedef std::vector< ResultListEntry* > ResultList; diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx index 66907ac067be..ca437c51b2b5 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx @@ -83,15 +83,9 @@ namespace ucb { namespace ucp { namespace ext ,m_xContext( rxContext ) { } - ~DataSupplier_Impl(); }; - DataSupplier_Impl::~DataSupplier_Impl() - { - } - - //= helper namespace diff --git a/ucb/source/ucp/webdav-neon/DAVException.hxx b/ucb/source/ucp/webdav-neon/DAVException.hxx index c6f50a2733dc..3e1046ce2b5c 100644 --- a/ucb/source/ucp/webdav-neon/DAVException.hxx +++ b/ucb/source/ucp/webdav-neon/DAVException.hxx @@ -164,7 +164,6 @@ class DAVException : public std::exception sal_uInt16 nStatusCode ) : mExceptionCode( inExceptionCode ), mData( rData ), mStatusCode( nStatusCode ) {}; - virtual ~DAVException() throw() override {}; const ExceptionCode & getError() const { return mExceptionCode; } const OUString & getData() const { return mData; } diff --git a/ucb/source/ucp/webdav-neon/LinkSequence.cxx b/ucb/source/ucp/webdav-neon/LinkSequence.cxx index 4fff36833eaf..392584ebf5fc 100644 --- a/ucb/source/ucp/webdav-neon/LinkSequence.cxx +++ b/ucb/source/ucp/webdav-neon/LinkSequence.cxx @@ -45,7 +45,6 @@ struct LinkSequenceParseContext LinkSequenceParseContext() : pLink( nullptr ), hasSource( false ), hasDestination( false ) {} - ~LinkSequenceParseContext() {} }; #define STATE_TOP (1) diff --git a/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx b/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx index 7d3a839d5eec..70b0c0ccc916 100644 --- a/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx +++ b/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx @@ -44,7 +44,6 @@ struct LockEntrySequenceParseContext LockEntrySequenceParseContext() : pEntry( nullptr ), hasScope( false ), hasType( false ) {} - ~LockEntrySequenceParseContext() { } }; #define STATE_TOP (1) diff --git a/ucb/source/ucp/webdav-neon/LockSequence.cxx b/ucb/source/ucp/webdav-neon/LockSequence.cxx index 1598ed8c076a..b75db5a8b428 100644 --- a/ucb/source/ucp/webdav-neon/LockSequence.cxx +++ b/ucb/source/ucp/webdav-neon/LockSequence.cxx @@ -48,8 +48,6 @@ struct LockSequenceParseContext LockSequenceParseContext() : pLock( nullptr ), hasLockScope( false ), hasLockType( false ), hasDepth( false ), hasHREF( false ), hasTimeout( false ) {} - - ~LockSequenceParseContext() {} }; #define STATE_TOP (1) |