From fe3005f4acd0b06f2fe133018b068efe8b6dd96c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 Nov 2016 23:00:14 +0100 Subject: loplugin:unnecessaryoverride (dtors) in ucb Change-Id: Ic19075cf0b237415c47a358c677eb19969e98fa5 --- ucb/source/sorter/sortresult.cxx | 5 ----- ucb/source/ucp/expand/ucpexpand.cxx | 7 ------- ucb/source/ucp/file/prov.cxx | 8 -------- ucb/source/ucp/hierarchy/hierarchydatasource.cxx | 8 -------- 4 files changed, 28 deletions(-) (limited to 'ucb') diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 392775b16db8..e6b28f87dab9 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -97,7 +97,6 @@ private: public: SRSPropertySetInfo(); - virtual ~SRSPropertySetInfo() override; // XPropertySetInfo virtual Sequence< Property > SAL_CALL getProperties() @@ -1928,10 +1927,6 @@ SRSPropertySetInfo::SRSPropertySetInfo() maProps[1].Attributes = -1; } - -SRSPropertySetInfo::~SRSPropertySetInfo() -{} - // XPropertySetInfo methods. Sequence< Property > SAL_CALL diff --git a/ucb/source/ucp/expand/ucpexpand.cxx b/ucb/source/ucp/expand/ucpexpand.cxx index 2f4cd3915d26..71ed084d30fa 100644 --- a/ucb/source/ucp/expand/ucpexpand.cxx +++ b/ucb/source/ucp/expand/ucpexpand.cxx @@ -69,7 +69,6 @@ public: m_xComponentContext( xComponentContext ), m_xMacroExpander( util::theMacroExpander::get(xComponentContext) ) {} - virtual ~ExpandContentProviderImpl() throw () override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() @@ -104,12 +103,6 @@ inline void ExpandContentProviderImpl::check() const } } - -ExpandContentProviderImpl::~ExpandContentProviderImpl() throw () -{ -} - - void ExpandContentProviderImpl::disposing() { } diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index b67304e52739..99c609153a36 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -258,7 +258,6 @@ class XPropertySetInfoImpl2 { public: XPropertySetInfoImpl2(); - virtual ~XPropertySetInfoImpl2() override; // XInterface virtual Any SAL_CALL @@ -312,13 +311,6 @@ XPropertySetInfoImpl2::XPropertySetInfoImpl2() PropertyAttribute::READONLY ); } - -XPropertySetInfoImpl2::~XPropertySetInfoImpl2() -{ - // nothing -} - - void SAL_CALL XPropertySetInfoImpl2::acquire() throw() diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index a3eed99bba95..a43fd2cb15f9 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -89,7 +89,6 @@ public: HierarchyDataAccess( const uno::Reference< uno::XInterface > & xConfigAccess, bool bReadOnly ); - virtual ~HierarchyDataAccess() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) @@ -594,13 +593,6 @@ HierarchyDataAccess::HierarchyDataAccess( const uno::Reference< { } - -// virtual -HierarchyDataAccess::~HierarchyDataAccess() -{ -} - - // XInterface methods. void SAL_CALL HierarchyDataAccess::acquire() throw() -- cgit