From 9f8986660cb0701bca7afcb43588dc7930da406b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 2 Dec 2016 11:16:13 +0100 Subject: loplugin:unnecessaryoverride (dtors) in starmath Change-Id: I7d987fdab23a708a75e7d2e8bd2aabdb96e53140 --- starmath/source/mathmlimport.cxx | 6 ------ starmath/source/unofilter.cxx | 3 --- 2 files changed, 9 deletions(-) (limited to 'starmath') diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 476150850a98..b080317083a4 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -1957,8 +1957,6 @@ public: sal_uInt16 i_nPrefix, const OUString & i_rLName, const uno::Reference& i_xDocProps); - virtual ~SmXMLFlatDocContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext(sal_uInt16 i_nPrefix, const OUString& i_rLocalName, const uno::Reference& i_xAttrList) override; }; @@ -1972,10 +1970,6 @@ SmXMLFlatDocContext_Impl::SmXMLFlatDocContext_Impl( SmXMLImport& i_rImport, { } -SmXMLFlatDocContext_Impl::~SmXMLFlatDocContext_Impl() -{ -} - SvXMLImportContext *SmXMLFlatDocContext_Impl::CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, const uno::Reference& i_xAttrList) diff --git a/starmath/source/unofilter.cxx b/starmath/source/unofilter.cxx index d24d0b2d3e93..be7e0a4af5b5 100644 --- a/starmath/source/unofilter.cxx +++ b/starmath/source/unofilter.cxx @@ -30,7 +30,6 @@ class MathTypeFilter : public cppu::WeakImplHelper public: MathTypeFilter(); - ~MathTypeFilter() override; // XFilter sal_Bool SAL_CALL filter(const uno::Sequence& rDescriptor) throw (uno::RuntimeException, std::exception) override; @@ -47,8 +46,6 @@ public: MathTypeFilter::MathTypeFilter() = default; -MathTypeFilter::~MathTypeFilter() = default; - sal_Bool MathTypeFilter::filter(const uno::Sequence& rDescriptor) throw(uno::RuntimeException, std::exception) { bool bSuccess = false; -- cgit