diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-05 09:04:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-05 09:04:59 +0100 |
commit | b1dd9a631a560cf95fd00104517ccc86082e4fcd (patch) | |
tree | 00e6b61229def57576840f9ea7891f8def6c9210 /editeng/source/xml | |
parent | 0fef19f1211bd4caad757a2b6ee6693369e69db0 (diff) |
loplugin:unnecessaryoverride (dtors) in editeng
Change-Id: I7a268a1e991e84304e5435e0f7b633873f6829eb
Diffstat (limited to 'editeng/source/xml')
-rw-r--r-- | editeng/source/xml/xmltxtexp.cxx | 12 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtimp.cxx | 11 |
2 files changed, 0 insertions, 23 deletions
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index cb4f208ca649..9b4c6f386e80 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -130,8 +130,6 @@ class SvxSimpleUnoModel : public cppu::WeakAggImplHelper4< { public: SvxSimpleUnoModel(); - virtual ~SvxSimpleUnoModel() override; - // XMultiServiceFactory virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; @@ -168,10 +166,6 @@ SvxSimpleUnoModel::SvxSimpleUnoModel() { } -SvxSimpleUnoModel::~SvxSimpleUnoModel() -{ -} - // XMultiServiceFactory ( SvxFmMSFactory ) uno::Reference< uno::XInterface > SAL_CALL SvxSimpleUnoModel::createInstance( const OUString& aServiceSpecifier ) throw(uno::Exception, uno::RuntimeException, std::exception) @@ -301,8 +295,6 @@ public: const OUString& rFileName, const css::uno::Reference< css::xml::sax::XDocumentHandler >& rHandler ); - virtual ~SvxXMLTextExportComponent() override; - // methods without content: virtual void ExportAutoStyles_() override; virtual void ExportMasterStyles_() override; @@ -342,10 +334,6 @@ SvxXMLTextExportComponent::SvxXMLTextExportComponent( setExportFlags( SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::CONTENT ); } -SvxXMLTextExportComponent::~SvxXMLTextExportComponent() -{ -} - void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel ) { try diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx index 8a09a5732121..23fc2bec007f 100644 --- a/editeng/source/xml/xmltxtimp.cxx +++ b/editeng/source/xml/xmltxtimp.cxx @@ -56,7 +56,6 @@ class SvxXMLTextImportContext : public SvXMLImportContext { public: SvxXMLTextImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< XAttributeList >& xAttrList, const uno::Reference< XText >& xText ); - virtual ~SvxXMLTextImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList ) override; @@ -72,10 +71,6 @@ SvxXMLTextImportContext::SvxXMLTextImportContext( SvXMLImport& rImport, sal_uInt { } -SvxXMLTextImportContext::~SvxXMLTextImportContext() -{ -} - SvXMLImportContext *SvxXMLTextImportContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList ) { SvXMLImportContext* pContext = nullptr; @@ -108,8 +103,6 @@ public: const css::uno::Reference< css::uno::XComponentContext >& rContext, const uno::Reference< XText > & rText ); - virtual ~SvxXMLXTextImportComponent() throw () override; - private: const uno::Reference< XText > mxText; }; @@ -124,10 +117,6 @@ SvxXMLXTextImportComponent::SvxXMLXTextImportComponent( GetTextImport()->SetCursor( mxText->createTextCursor() ); } -SvxXMLXTextImportComponent::~SvxXMLXTextImportComponent() throw () -{ -} - void SvxReadXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel ) { SvxEditEngineSource aEditSource( &rEditEngine ); |