diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:09:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:19:22 +0200 |
commit | 91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch) | |
tree | d634de3a1a6820904b5699c2136b79b1a5a807c7 /xmloff/inc | |
parent | 6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (diff) |
loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.
(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager();
in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)
Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
Diffstat (limited to 'xmloff/inc')
38 files changed, 44 insertions, 44 deletions
diff --git a/xmloff/inc/AttributeContainerHandler.hxx b/xmloff/inc/AttributeContainerHandler.hxx index 0e986151e2c9..4cdeccaaf1eb 100644 --- a/xmloff/inc/AttributeContainerHandler.hxx +++ b/xmloff/inc/AttributeContainerHandler.hxx @@ -28,7 +28,7 @@ class XMLAttributeContainerHandler : public XMLPropertyHandler { public: - virtual ~XMLAttributeContainerHandler(); + virtual ~XMLAttributeContainerHandler() override; virtual bool equals( const css::uno::Any& r1, const css::uno::Any& r2 ) const override; diff --git a/xmloff/inc/DomBuilderContext.hxx b/xmloff/inc/DomBuilderContext.hxx index 89b9e2ad100b..211cb6c83d58 100644 --- a/xmloff/inc/DomBuilderContext.hxx +++ b/xmloff/inc/DomBuilderContext.hxx @@ -58,7 +58,7 @@ public: const OUString& rLocalName, css::uno::Reference<css::xml::dom::XNode>& ); - virtual ~DomBuilderContext(); + virtual ~DomBuilderContext() override; // access to the DOM tree diff --git a/xmloff/inc/MetaExportComponent.hxx b/xmloff/inc/MetaExportComponent.hxx index fc7b6a1a6225..0f128201cb21 100644 --- a/xmloff/inc/MetaExportComponent.hxx +++ b/xmloff/inc/MetaExportComponent.hxx @@ -34,7 +34,7 @@ public: OUString const & implementationName, SvXMLExportFlags nFlags ); - virtual ~XMLMetaExportComponent(); + virtual ~XMLMetaExportComponent() override; protected: // export the events off all autotexts diff --git a/xmloff/inc/PageMasterImportContext.hxx b/xmloff/inc/PageMasterImportContext.hxx index 9deea733781a..06bbf7a9dd02 100644 --- a/xmloff/inc/PageMasterImportContext.hxx +++ b/xmloff/inc/PageMasterImportContext.hxx @@ -45,7 +45,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, SvXMLStylesContext& rStyles, bool bDefaultStyle=false); - virtual ~PageStyleContext(); + virtual ~PageStyleContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/inc/SchXMLExport.hxx b/xmloff/inc/SchXMLExport.hxx index d9f7907515e2..a4e1242b99d2 100644 --- a/xmloff/inc/SchXMLExport.hxx +++ b/xmloff/inc/SchXMLExport.hxx @@ -54,7 +54,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, SvXMLExportFlags nExportFlags = SvXMLExportFlags::ALL ); - virtual ~SchXMLExport(); + virtual ~SchXMLExport() override; rtl::Reference< XMLPropertySetMapper > GetPropertySetMapper() const; }; diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx index aae955c3fd68..aedb91f86324 100644 --- a/xmloff/inc/SchXMLImport.hxx +++ b/xmloff/inc/SchXMLImport.hxx @@ -173,7 +173,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, SvXMLImportFlags nImportFlags ); - virtual ~SchXMLImport() throw (); + virtual ~SchXMLImport() throw () override; SvXMLImportContext* CreateStylesContext( const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ); diff --git a/xmloff/inc/StyleMap.hxx b/xmloff/inc/StyleMap.hxx index 77bf1262b4d5..d308ba033ff0 100644 --- a/xmloff/inc/StyleMap.hxx +++ b/xmloff/inc/StyleMap.hxx @@ -66,7 +66,7 @@ class StyleMap : public: StyleMap(); - virtual ~StyleMap(); + virtual ~StyleMap() override; static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); static StyleMap* getImplementation( diff --git a/xmloff/inc/XMLBackgroundImageContext.hxx b/xmloff/inc/XMLBackgroundImageContext.hxx index 13da75c0bdc0..9688b8a5d75f 100644 --- a/xmloff/inc/XMLBackgroundImageContext.hxx +++ b/xmloff/inc/XMLBackgroundImageContext.hxx @@ -59,7 +59,7 @@ public: sal_Int32 nBitmapModeIdx, ::std::vector< XMLPropertyState > &rProps ); - virtual ~XMLBackgroundImageContext(); + virtual ~XMLBackgroundImageContext() override; SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/inc/XMLBasicExportFilter.hxx b/xmloff/inc/XMLBasicExportFilter.hxx index 3fc8d5b38020..e4128586bdec 100644 --- a/xmloff/inc/XMLBasicExportFilter.hxx +++ b/xmloff/inc/XMLBasicExportFilter.hxx @@ -36,7 +36,7 @@ private: public: XMLBasicExportFilter( const css::uno::Reference< css::xml::sax::XDocumentHandler >& rxHandler ); - virtual ~XMLBasicExportFilter(); + virtual ~XMLBasicExportFilter() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx index caf3c2bb61f7..ced08e4cab80 100644 --- a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx +++ b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx @@ -35,7 +35,7 @@ public: XMLBitmapLogicalSizePropertyHandler(); // Just needed for virtual destruction - virtual ~XMLBitmapLogicalSizePropertyHandler(); + virtual ~XMLBitmapLogicalSizePropertyHandler() override; /// Imports the given value in cas of the given XML-data-type virtual bool importXML( diff --git a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx index 523c87fcfd11..393cd4761825 100644 --- a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx +++ b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx @@ -37,7 +37,7 @@ public: XMLBitmapRepeatOffsetPropertyHandler( bool bX ); // Just needed for virtual destruction - virtual ~XMLBitmapRepeatOffsetPropertyHandler(); + virtual ~XMLBitmapRepeatOffsetPropertyHandler() override; /// Imports the given value in cas of the given XML-data-type virtual bool importXML( diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx index 8a4433fc5a5e..588a4be0a090 100644 --- a/xmloff/inc/XMLChartPropertySetMapper.hxx +++ b/xmloff/inc/XMLChartPropertySetMapper.hxx @@ -31,7 +31,7 @@ class SvXMLExport; class XMLChartPropHdlFactory : public XMLPropertyHandlerFactory { public: - virtual ~XMLChartPropHdlFactory(); + virtual ~XMLChartPropHdlFactory() override; virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const override; }; @@ -39,7 +39,7 @@ class XMLChartPropertySetMapper : public XMLPropertySetMapper { public: explicit XMLChartPropertySetMapper( bool bForExport ); - virtual ~XMLChartPropertySetMapper(); + virtual ~XMLChartPropertySetMapper() override; }; class XMLChartExportPropertyMapper : public SvXMLExportPropertyMapper @@ -72,7 +72,7 @@ private: public: XMLChartExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport ); - virtual ~XMLChartExportPropertyMapper(); + virtual ~XMLChartExportPropertyMapper() override; void setChartDoc( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc ); }; @@ -85,7 +85,7 @@ private: public: XMLChartImportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper, const SvXMLImport& rImport ); - virtual ~XMLChartImportPropertyMapper(); + virtual ~XMLChartImportPropertyMapper() override; virtual bool handleSpecialItem( XMLPropertyState& rProperty, diff --git a/xmloff/inc/XMLChartStyleContext.hxx b/xmloff/inc/XMLChartStyleContext.hxx index 09751ba37ac6..6e32fc1e6b88 100644 --- a/xmloff/inc/XMLChartStyleContext.hxx +++ b/xmloff/inc/XMLChartStyleContext.hxx @@ -41,7 +41,7 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, SvXMLStylesContext& rStyles, sal_uInt16 nFamily ); - virtual ~XMLChartStyleContext(); + virtual ~XMLChartStyleContext() override; /// is called after all styles have been read to apply styles void FillPropertySet( diff --git a/xmloff/inc/XMLClipPropertyHandler.hxx b/xmloff/inc/XMLClipPropertyHandler.hxx index 01b69400b461..55cd77615705 100644 --- a/xmloff/inc/XMLClipPropertyHandler.hxx +++ b/xmloff/inc/XMLClipPropertyHandler.hxx @@ -30,7 +30,7 @@ class XMLClipPropertyHandler : public XMLPropertyHandler bool m_bODF11; public: XMLClipPropertyHandler( bool bODF11 ); - virtual ~XMLClipPropertyHandler(); + virtual ~XMLClipPropertyHandler() override; virtual bool equals( const css::uno::Any& r1, const css::uno::Any& r2 ) const override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; diff --git a/xmloff/inc/XMLElementPropertyContext.hxx b/xmloff/inc/XMLElementPropertyContext.hxx index 1c412c818ae4..88aac3d136b3 100644 --- a/xmloff/inc/XMLElementPropertyContext.hxx +++ b/xmloff/inc/XMLElementPropertyContext.hxx @@ -45,7 +45,7 @@ public: const XMLPropertyState& rProp, ::std::vector< XMLPropertyState > &rProps ); - virtual ~XMLElementPropertyContext(); + virtual ~XMLElementPropertyContext() override; virtual void EndElement() override; }; diff --git a/xmloff/inc/XMLEmbeddedObjectImportContext.hxx b/xmloff/inc/XMLEmbeddedObjectImportContext.hxx index b071f067e2b1..01046620e0d7 100644 --- a/xmloff/inc/XMLEmbeddedObjectImportContext.hxx +++ b/xmloff/inc/XMLEmbeddedObjectImportContext.hxx @@ -43,7 +43,7 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ); - virtual ~XMLEmbeddedObjectImportContext(); + virtual ~XMLEmbeddedObjectImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx index 6425a5832132..8fc21596b272 100644 --- a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx +++ b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx @@ -35,7 +35,7 @@ public: XMLFillBitmapSizePropertyHandler(); // Just needed for virtual destruction - virtual ~XMLFillBitmapSizePropertyHandler(); + virtual ~XMLFillBitmapSizePropertyHandler() override; /// Imports the given value in cas of the given XML-data-type virtual bool importXML( diff --git a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx index 1f05299169fa..4ea1da3db1ae 100644 --- a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx +++ b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx @@ -72,7 +72,7 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList> & xAttrList); - virtual ~XMLFootnoteConfigurationImportContext(); + virtual ~XMLFootnoteConfigurationImportContext() override; /// parse attributes virtual void StartElement( diff --git a/xmloff/inc/XMLImageMapContext.hxx b/xmloff/inc/XMLImageMapContext.hxx index 1c8db861f702..b6a5b09f35af 100644 --- a/xmloff/inc/XMLImageMapContext.hxx +++ b/xmloff/inc/XMLImageMapContext.hxx @@ -50,7 +50,7 @@ public: const OUString& rLocalName, css::uno::Reference< css::beans::XPropertySet> & rPropertySet); - virtual ~XMLImageMapContext(); + virtual ~XMLImageMapContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx index 2b157667b9b6..368161dab1a9 100644 --- a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx +++ b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx @@ -72,7 +72,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList> & xAttrList); - virtual ~XMLIndexBibliographyConfigurationContext(); + virtual ~XMLIndexBibliographyConfigurationContext() override; protected: diff --git a/xmloff/inc/XMLIsPercentagePropertyHandler.hxx b/xmloff/inc/XMLIsPercentagePropertyHandler.hxx index d27fe046ac77..f2056a7c7644 100644 --- a/xmloff/inc/XMLIsPercentagePropertyHandler.hxx +++ b/xmloff/inc/XMLIsPercentagePropertyHandler.hxx @@ -29,7 +29,7 @@ class XMLIsPercentagePropertyHandler : public XMLPropertyHandler { public: - virtual ~XMLIsPercentagePropertyHandler (); + virtual ~XMLIsPercentagePropertyHandler () override; virtual bool importXML( const OUString& rStrImpValue, diff --git a/xmloff/inc/XMLLineNumberingImportContext.hxx b/xmloff/inc/XMLLineNumberingImportContext.hxx index f15d14cda902..ad01b45f61cf 100644 --- a/xmloff/inc/XMLLineNumberingImportContext.hxx +++ b/xmloff/inc/XMLLineNumberingImportContext.hxx @@ -84,7 +84,7 @@ public: const OUString& rLocalName, const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList); - virtual ~XMLLineNumberingImportContext(); + virtual ~XMLLineNumberingImportContext() override; // to be used by child context: set separator info void SetSeparatorText(const OUString& sText); diff --git a/xmloff/inc/XMLNumberStylesImport.hxx b/xmloff/inc/XMLNumberStylesImport.hxx index be2de70d98d3..172e17587742 100644 --- a/xmloff/inc/XMLNumberStylesImport.hxx +++ b/xmloff/inc/XMLNumberStylesImport.hxx @@ -53,7 +53,7 @@ public: SvXMLNumImpData* pNewData, sal_uInt16 nNewType, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, SvXMLStylesContext& rStyles); - virtual ~SdXMLNumberFormatImportContext(); + virtual ~SdXMLNumberFormatImportContext() override; virtual void EndElement() override; diff --git a/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx b/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx index 9aeaea39df8f..974a779c77d5 100644 --- a/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx +++ b/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx @@ -29,7 +29,7 @@ class XMLPercentOrMeasurePropertyHandler : public XMLPropertyHandler { public: XMLPercentOrMeasurePropertyHandler(); - virtual ~XMLPercentOrMeasurePropertyHandler (); + virtual ~XMLPercentOrMeasurePropertyHandler () override; virtual bool importXML( const OUString& rStrImpValue, diff --git a/xmloff/inc/XMLRectangleMembersHandler.hxx b/xmloff/inc/XMLRectangleMembersHandler.hxx index ce21f0505761..965aa3c2939f 100644 --- a/xmloff/inc/XMLRectangleMembersHandler.hxx +++ b/xmloff/inc/XMLRectangleMembersHandler.hxx @@ -37,7 +37,7 @@ public: XMLRectangleMembersHdl( sal_Int32 nType ); // Just needed for virtual destruction - virtual ~XMLRectangleMembersHdl(); + virtual ~XMLRectangleMembersHdl() override; /// Imports the given value in cas of the given XML-data-type virtual bool importXML( diff --git a/xmloff/inc/XMLReplacementImageContext.hxx b/xmloff/inc/XMLReplacementImageContext.hxx index 243db0bfaf0f..dd6a3fa733f8 100644 --- a/xmloff/inc/XMLReplacementImageContext.hxx +++ b/xmloff/inc/XMLReplacementImageContext.hxx @@ -44,7 +44,7 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & rAttrList, const css::uno::Reference< css::beans::XPropertySet >& rPropSet ); - virtual ~XMLReplacementImageContext(); + virtual ~XMLReplacementImageContext() override; virtual void EndElement() override; diff --git a/xmloff/inc/XMLScriptContextFactory.hxx b/xmloff/inc/XMLScriptContextFactory.hxx index 9e687df7628e..8372e3a7c1ad 100644 --- a/xmloff/inc/XMLScriptContextFactory.hxx +++ b/xmloff/inc/XMLScriptContextFactory.hxx @@ -38,7 +38,7 @@ class XMLScriptContextFactory : public XMLEventContextFactory public: XMLScriptContextFactory(); - virtual ~XMLScriptContextFactory(); + virtual ~XMLScriptContextFactory() override; virtual SvXMLImportContext * CreateContext(SvXMLImport & rImport, /// import context diff --git a/xmloff/inc/XMLScriptExportHandler.hxx b/xmloff/inc/XMLScriptExportHandler.hxx index feb5c8afee23..54d6861ad788 100644 --- a/xmloff/inc/XMLScriptExportHandler.hxx +++ b/xmloff/inc/XMLScriptExportHandler.hxx @@ -37,7 +37,7 @@ class XMLScriptExportHandler : public XMLEventExportHandler public: XMLScriptExportHandler(); - virtual ~XMLScriptExportHandler(); + virtual ~XMLScriptExportHandler() override; virtual void Export( SvXMLExport& rExport, diff --git a/xmloff/inc/XMLShapePropertySetContext.hxx b/xmloff/inc/XMLShapePropertySetContext.hxx index 9a11ad2d58a9..d583983d9005 100644 --- a/xmloff/inc/XMLShapePropertySetContext.hxx +++ b/xmloff/inc/XMLShapePropertySetContext.hxx @@ -37,7 +37,7 @@ public: ::std::vector< XMLPropertyState > &rProps, const rtl::Reference < SvXMLImportPropertyMapper > &rMap ); - virtual ~XMLShapePropertySetContext(); + virtual ~XMLShapePropertySetContext() override; virtual void EndElement() override; diff --git a/xmloff/inc/XMLStarBasicContextFactory.hxx b/xmloff/inc/XMLStarBasicContextFactory.hxx index f03e5660870f..aa46454a071d 100644 --- a/xmloff/inc/XMLStarBasicContextFactory.hxx +++ b/xmloff/inc/XMLStarBasicContextFactory.hxx @@ -40,7 +40,7 @@ class XMLStarBasicContextFactory : public XMLEventContextFactory public: XMLStarBasicContextFactory(); - virtual ~XMLStarBasicContextFactory(); + virtual ~XMLStarBasicContextFactory() override; virtual SvXMLImportContext* CreateContext( SvXMLImport& rImport, /// import context diff --git a/xmloff/inc/XMLStarBasicExportHandler.hxx b/xmloff/inc/XMLStarBasicExportHandler.hxx index e1be54256572..f0e5e01714b5 100644 --- a/xmloff/inc/XMLStarBasicExportHandler.hxx +++ b/xmloff/inc/XMLStarBasicExportHandler.hxx @@ -41,7 +41,7 @@ class XMLStarBasicExportHandler : public XMLEventExportHandler public: XMLStarBasicExportHandler(); - virtual ~XMLStarBasicExportHandler(); + virtual ~XMLStarBasicExportHandler() override; virtual void Export( SvXMLExport& rExport, diff --git a/xmloff/inc/XMLStringBufferImportContext.hxx b/xmloff/inc/XMLStringBufferImportContext.hxx index db92e9cf829e..c3bb802f0e11 100644 --- a/xmloff/inc/XMLStringBufferImportContext.hxx +++ b/xmloff/inc/XMLStringBufferImportContext.hxx @@ -43,7 +43,7 @@ public: const OUString& sLocalName, OUStringBuffer& rBuffer); - virtual ~XMLStringBufferImportContext(); + virtual ~XMLStringBufferImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/inc/XMLTextColumnsPropertyHandler.hxx b/xmloff/inc/XMLTextColumnsPropertyHandler.hxx index 0b2f2d435165..25554f5218d1 100644 --- a/xmloff/inc/XMLTextColumnsPropertyHandler.hxx +++ b/xmloff/inc/XMLTextColumnsPropertyHandler.hxx @@ -28,7 +28,7 @@ class XMLTextColumnsPropertyHandler : public XMLPropertyHandler { public: - virtual ~XMLTextColumnsPropertyHandler (); + virtual ~XMLTextColumnsPropertyHandler () override; virtual bool equals( const css::uno::Any& r1, diff --git a/xmloff/inc/XMLTextHeaderFooterContext.hxx b/xmloff/inc/XMLTextHeaderFooterContext.hxx index d22907451d8e..46f7798a6f67 100644 --- a/xmloff/inc/XMLTextHeaderFooterContext.hxx +++ b/xmloff/inc/XMLTextHeaderFooterContext.hxx @@ -51,7 +51,7 @@ public: const css::uno::Reference< css::beans::XPropertySet > & rPageStylePropSet, bool bFooter, bool bLft, bool bFrst ); - virtual ~XMLTextHeaderFooterContext(); + virtual ~XMLTextHeaderFooterContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/inc/forms/property_handler.hxx b/xmloff/inc/forms/property_handler.hxx index 2f597950dd48..e495d45d65dd 100644 --- a/xmloff/inc/forms/property_handler.hxx +++ b/xmloff/inc/forms/property_handler.hxx @@ -53,7 +53,7 @@ namespace xmloff virtual bool getPropertyValues( const OUString& i_attributeValue, PropertyValues& o_propertyValues ) const = 0; - virtual ~PropertyHandlerBase() {} + virtual ~PropertyHandlerBase() override {} }; //= PPropertyHandler diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index b6b2a6b8de81..f818242b70d8 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -132,7 +132,7 @@ public: sal_uInt16 nPrfx, /// namespace prefix const OUString& rLocalName); /// element name w/o prefix - virtual ~XMLTextFieldImportContext(); + virtual ~XMLTextFieldImportContext() override; /// process character data: will be collected in member sContentBuffer virtual void Characters( const OUString& sContent ) override; diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx index 168d9376d192..02df858d3b4d 100644 --- a/xmloff/inc/txtvfldi.hxx +++ b/xmloff/inc/txtvfldi.hxx @@ -485,7 +485,7 @@ public: XMLTextImportHelper& rHlp, /// text import helper sal_uInt16 nPrfx, /// namespace prefix const OUString& rLocalName); /// element name w/o prefix - virtual ~XMLTableFormulaImportContext(); + virtual ~XMLTableFormulaImportContext() override; protected: diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx index c31e39337c01..df29a971927c 100644 --- a/xmloff/inc/xmlversion.hxx +++ b/xmloff/inc/xmlversion.hxx @@ -42,7 +42,7 @@ public: const css::uno::Sequence < css::util::RevisionTag >& rVersions, const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler ); - virtual ~XMLVersionListExport() {} + virtual ~XMLVersionListExport() override {} sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ) override; void ExportAutoStyles_() override {} @@ -68,7 +68,7 @@ public: XMLVersionListImport( const css::uno::Reference< css::uno::XComponentContext >& rContext, css::uno::Sequence < css::util::RevisionTag >& rVersions ); - virtual ~XMLVersionListImport() throw(); + virtual ~XMLVersionListImport() throw() override; css::uno::Sequence < css::util::RevisionTag >& GetList() { return maVersions; } @@ -86,7 +86,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); - virtual ~XMLVersionListContext(); + virtual ~XMLVersionListContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -110,7 +110,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); - virtual ~XMLVersionContext(); + virtual ~XMLVersionContext() override; }; class XMLVersionListPersistence : public ::cppu::WeakImplHelper< css::document::XDocumentRevisionListPersistence, css::lang::XServiceInfo > |