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/source/draw | |
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/source/draw')
26 files changed, 66 insertions, 66 deletions
diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index ef37224a45ee..068643cc3aa0 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -311,7 +311,7 @@ public: const OUString& rLocalName, css::uno::Reference<css::container::XIndexContainer> const & xMap); - virtual ~XMLImageMapRectangleContext(); + virtual ~XMLImageMapRectangleContext() override; protected: virtual void ProcessAttribute( @@ -413,7 +413,7 @@ public: const OUString& rLocalName, css::uno::Reference<css::container::XIndexContainer> const & xMap); - virtual ~XMLImageMapPolygonContext(); + virtual ~XMLImageMapPolygonContext() override; protected: virtual void ProcessAttribute( @@ -502,7 +502,7 @@ public: const OUString& rLocalName, css::uno::Reference<css::container::XIndexContainer> const & xMap); - virtual ~XMLImageMapCircleContext(); + virtual ~XMLImageMapCircleContext() override; protected: virtual void ProcessAttribute( diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx index b6b71d3e898b..82802c78ad26 100644 --- a/xmloff/source/draw/XMLNumberStyles.cxx +++ b/xmloff/source/draw/XMLNumberStyles.cxx @@ -495,7 +495,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, SdXMLNumberFormatImportContext* pParent, SvXMLImportContext* pSlaveContext ); - virtual ~SdXMLNumberFormatMemberImportContext(); + virtual ~SdXMLNumberFormatMemberImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 102457a43672..1f7e0f0bdb09 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -1239,7 +1239,7 @@ class AnimationsImport: public SvXMLImport, public XAnimationNodeSupplier { public: explicit AnimationsImport( const Reference< XComponentContext > & rxContext ); - virtual ~AnimationsImport() throw (); + virtual ~AnimationsImport() throw () override; SvXMLImportContext* CreateContext(sal_uInt16 nPrefix, const OUString& rLocalName, const Reference<XAttributeList>& xAttrList) override; diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx index 6ba0a22b9e44..6b117e34ff6e 100644 --- a/xmloff/source/draw/animimp.cxx +++ b/xmloff/source/draw/animimp.cxx @@ -384,7 +384,7 @@ public: const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const std::shared_ptr<AnimImpImpl>& pImpl); - virtual ~XMLAnimationsEffectContext(); + virtual ~XMLAnimationsEffectContext() override; virtual void EndElement() override; @@ -399,7 +399,7 @@ class XMLAnimationsSoundContext : public SvXMLImportContext public: XMLAnimationsSoundContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, XMLAnimationsEffectContext* pParent ); - virtual ~XMLAnimationsSoundContext(); + virtual ~XMLAnimationsSoundContext() override; }; diff --git a/xmloff/source/draw/descriptionimp.hxx b/xmloff/source/draw/descriptionimp.hxx index cc2eca055e3f..0a57ca70fcf1 100644 --- a/xmloff/source/draw/descriptionimp.hxx +++ b/xmloff/source/draw/descriptionimp.hxx @@ -37,7 +37,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, const css::uno::Reference< css::drawing::XShape >& rxShape ); - virtual ~SdXMLDescriptionContext(); + virtual ~SdXMLDescriptionContext() override; virtual void EndElement() override; diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx index a4dbc2f4e5f0..bcac08728433 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -78,7 +78,7 @@ private: public: SdXMLEventContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList, const Reference< XShape >& rxShape ); - virtual ~SdXMLEventContext(); + virtual ~SdXMLEventContext() override; virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList ) override; virtual void EndElement() override; @@ -105,7 +105,7 @@ class XMLEventSoundContext : public SvXMLImportContext public: XMLEventSoundContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, SdXMLEventContext* pParent ); - virtual ~XMLEventSoundContext(); + virtual ~XMLEventSoundContext() override; }; diff --git a/xmloff/source/draw/eventimp.hxx b/xmloff/source/draw/eventimp.hxx index ff875b376cc5..cf2e2b04c3ad 100644 --- a/xmloff/source/draw/eventimp.hxx +++ b/xmloff/source/draw/eventimp.hxx @@ -37,7 +37,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, const css::uno::Reference< css::drawing::XShape >& rxShape ); - virtual ~SdXMLEventsContext(); + virtual ~SdXMLEventsContext() override; virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index cc29145e65bd..065d6eec7b7b 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -52,7 +52,7 @@ class SdXMLLayerContext : public SvXMLImportContext { public: SdXMLLayerContext( SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const Reference< XNameAccess >& xLayerManager ); - virtual ~SdXMLLayerContext(); + virtual ~SdXMLLayerContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) override; virtual void EndElement() override; diff --git a/xmloff/source/draw/layerimp.hxx b/xmloff/source/draw/layerimp.hxx index 6538f6a0d088..882f5cb3dd55 100644 --- a/xmloff/source/draw/layerimp.hxx +++ b/xmloff/source/draw/layerimp.hxx @@ -36,7 +36,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList); - virtual ~SdXMLLayerSetContext(); + virtual ~SdXMLLayerSetContext() override; virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; diff --git a/xmloff/source/draw/numithdl.hxx b/xmloff/source/draw/numithdl.hxx index 0ea5cfa0b51d..3decd01f471b 100644 --- a/xmloff/source/draw/numithdl.hxx +++ b/xmloff/source/draw/numithdl.hxx @@ -32,7 +32,7 @@ private: css::uno::Reference< css::ucb::XAnyCompare > mxNumRuleCompare; public: explicit XMLNumRulePropHdl( css::uno::Reference< css::ucb::XAnyCompare > const & xNumRuleCompare ); - virtual ~XMLNumRulePropHdl(); + virtual ~XMLNumRulePropHdl() override; virtual bool equals( const css::uno::Any& r1, const css::uno::Any& r2 ) const override; diff --git a/xmloff/source/draw/propimp0.hxx b/xmloff/source/draw/propimp0.hxx index ce351d0ecb7c..101e36bf4d10 100644 --- a/xmloff/source/draw/propimp0.hxx +++ b/xmloff/source/draw/propimp0.hxx @@ -27,7 +27,7 @@ class XMLDurationPropertyHdl : public XMLPropertyHandler { public: - virtual ~XMLDurationPropertyHdl(); + virtual ~XMLDurationPropertyHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; @@ -39,7 +39,7 @@ private: SvXMLImport* mpImport; public: explicit XMLOpacityPropertyHdl( SvXMLImport* pImport ); - virtual ~XMLOpacityPropertyHdl(); + virtual ~XMLOpacityPropertyHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; @@ -47,7 +47,7 @@ public: class XMLTextAnimationStepPropertyHdl : public XMLPropertyHandler { public: - virtual ~XMLTextAnimationStepPropertyHdl(); + virtual ~XMLTextAnimationStepPropertyHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; @@ -60,7 +60,7 @@ private: public: explicit XMLDateTimeFormatHdl( SvXMLExport* pExport ); - virtual ~XMLDateTimeFormatHdl(); + virtual ~XMLDateTimeFormatHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index 19fcd4228291..d950505895d3 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -810,7 +810,7 @@ bool XMLMoveSizeProtectHdl::exportXML( OUString& rStrExpValue, const Any& rValue class XMLSdHeaderFooterVisibilityTypeHdl : public XMLPropertyHandler { public: - virtual ~XMLSdHeaderFooterVisibilityTypeHdl(); + virtual ~XMLSdHeaderFooterVisibilityTypeHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; diff --git a/xmloff/source/draw/sdpropls.hxx b/xmloff/source/draw/sdpropls.hxx index 522b341a990d..5e91313efdfa 100644 --- a/xmloff/source/draw/sdpropls.hxx +++ b/xmloff/source/draw/sdpropls.hxx @@ -62,7 +62,7 @@ private: public: XMLSdPropHdlFactory( css::uno::Reference< css::frame::XModel > const & xModel, SvXMLExport& rExport ); XMLSdPropHdlFactory( css::uno::Reference< css::frame::XModel > const & xModel, SvXMLImport& rImport ); - virtual ~XMLSdPropHdlFactory(); + virtual ~XMLSdPropHdlFactory() override; virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const override; }; @@ -70,7 +70,7 @@ class XMLShapePropertySetMapper : public XMLPropertySetMapper { public: XMLShapePropertySetMapper(const rtl::Reference< XMLPropertyHandlerFactory >& rFactoryRef, bool bForExport); - virtual ~XMLShapePropertySetMapper(); + virtual ~XMLShapePropertySetMapper() override; }; class XMLShapeExportPropertyMapper : public SvXMLExportPropertyMapper @@ -86,7 +86,7 @@ protected: const css::uno::Reference< css::beans::XPropertySet >& rPropSet ) const override; public: XMLShapeExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport ); - virtual ~XMLShapeExportPropertyMapper(); + virtual ~XMLShapeExportPropertyMapper() override; virtual void handleElementItem( SvXMLExport& rExport, @@ -119,7 +119,7 @@ protected: const css::uno::Reference< css::beans::XPropertySet >& rPropSet ) const override; public: XMLPageExportPropertyMapper( const rtl::Reference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport ); - virtual ~XMLPageExportPropertyMapper(); + virtual ~XMLPageExportPropertyMapper() override; virtual void handleElementItem( SvXMLExport& rExport, diff --git a/xmloff/source/draw/sdxmlexp_impl.hxx b/xmloff/source/draw/sdxmlexp_impl.hxx index a69bddebc506..3764ceebb54e 100644 --- a/xmloff/source/draw/sdxmlexp_impl.hxx +++ b/xmloff/source/draw/sdxmlexp_impl.hxx @@ -163,7 +163,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, bool bIsDraw, SvXMLExportFlags nExportFlags = SvXMLExportFlags::ALL ); - virtual ~SdXMLExport(); + virtual ~SdXMLExport() override; void SetProgress(sal_Int32 nProg); diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 80539893d2c4..fa523c29b1cd 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -61,7 +61,7 @@ public: SdXMLBodyContext_Impl( SdXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SdXMLBodyContext_Impl(); + virtual ~SdXMLBodyContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -100,7 +100,7 @@ public: sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& xAttrList); - virtual ~SdXMLDocContext_Impl(); + virtual ~SdXMLDocContext_Impl() override; virtual SvXMLImportContext *CreateChildContext(sal_uInt16 nPrefix, @@ -215,7 +215,7 @@ public: const uno::Reference<xml::sax::XAttributeList>& i_xAttrList, const uno::Reference<document::XDocumentProperties>& i_xDocProps); - virtual ~SdXMLFlatDocContext_Impl(); + virtual ~SdXMLFlatDocContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, diff --git a/xmloff/source/draw/ximp3dobject.hxx b/xmloff/source/draw/ximp3dobject.hxx index cf4b13669c1a..6527aa345b3f 100644 --- a/xmloff/source/draw/ximp3dobject.hxx +++ b/xmloff/source/draw/ximp3dobject.hxx @@ -46,7 +46,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXML3DObjectContext(); + virtual ~SdXML3DObjectContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; }; @@ -66,7 +66,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXML3DCubeObjectShapeContext(); + virtual ~SdXML3DCubeObjectShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; @@ -87,7 +87,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXML3DSphereObjectShapeContext(); + virtual ~SdXML3DSphereObjectShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; @@ -106,7 +106,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXML3DPolygonBasedShapeContext(); + virtual ~SdXML3DPolygonBasedShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; @@ -122,7 +122,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXML3DLatheObjectShapeContext(); + virtual ~SdXML3DLatheObjectShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; @@ -138,7 +138,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXML3DExtrudeObjectShapeContext(); + virtual ~SdXML3DExtrudeObjectShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; diff --git a/xmloff/source/draw/ximp3dscene.hxx b/xmloff/source/draw/ximp3dscene.hxx index 18c89b385c09..6a3ef0fccd51 100644 --- a/xmloff/source/draw/ximp3dscene.hxx +++ b/xmloff/source/draw/ximp3dscene.hxx @@ -43,7 +43,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXML3DSceneShapeContext(); + virtual ~SdXML3DSceneShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; diff --git a/xmloff/source/draw/ximpbody.hxx b/xmloff/source/draw/ximpbody.hxx index 95358cfc3bce..7494b73aa815 100644 --- a/xmloff/source/draw/ximpbody.hxx +++ b/xmloff/source/draw/ximpbody.hxx @@ -41,7 +41,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLDrawPageContext(); + virtual ~SdXMLDrawPageContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -59,7 +59,7 @@ class SdXMLBodyContext : public SvXMLImportContext public: SdXMLBodyContext( SdXMLImport& rImport, const OUString& rLocalName ); - virtual ~SdXMLBodyContext(); + virtual ~SdXMLBodyContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/draw/ximpgrp.hxx b/xmloff/source/draw/ximpgrp.hxx index 5e8442909319..5f57a2d208f1 100644 --- a/xmloff/source/draw/ximpgrp.hxx +++ b/xmloff/source/draw/ximpgrp.hxx @@ -39,7 +39,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLGroupShapeContext(); + virtual ~SdXMLGroupShapeContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/draw/ximplink.hxx b/xmloff/source/draw/ximplink.hxx index 187cda328f34..8960d4d8f818 100644 --- a/xmloff/source/draw/ximplink.hxx +++ b/xmloff/source/draw/ximplink.hxx @@ -42,7 +42,7 @@ public: SdXMLShapeLinkContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLShapeLinkContext(); + virtual ~SdXMLShapeLinkContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/draw/ximpnote.hxx b/xmloff/source/draw/ximpnote.hxx index 5da731fdddfa..ace197b6e0a8 100644 --- a/xmloff/source/draw/ximpnote.hxx +++ b/xmloff/source/draw/ximpnote.hxx @@ -37,7 +37,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLNotesContext(); + virtual ~SdXMLNotesContext() override; }; #endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPNOTE_HXX diff --git a/xmloff/source/draw/ximppage.hxx b/xmloff/source/draw/ximppage.hxx index a3bebae61f0d..21cce5b8ca41 100644 --- a/xmloff/source/draw/ximppage.hxx +++ b/xmloff/source/draw/ximppage.hxx @@ -64,7 +64,7 @@ public: SdXMLGenericPageContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLGenericPageContext(); + virtual ~SdXMLGenericPageContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual SvXMLImportContext *CreateChildContext( diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx index a6ce95d8fce0..540abd3bcb64 100644 --- a/xmloff/source/draw/ximpshap.hxx +++ b/xmloff/source/draw/ximpshap.hxx @@ -107,7 +107,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLShapeContext(); + virtual ~SdXMLShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; @@ -136,7 +136,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLRectShapeContext(); + virtual ~SdXMLRectShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -159,7 +159,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLLineShapeContext(); + virtual ~SdXMLLineShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -185,7 +185,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLEllipseShapeContext(); + virtual ~SdXMLEllipseShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -206,7 +206,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bClosed, bool bTemporaryShape); - virtual ~SdXMLPolygonShapeContext(); + virtual ~SdXMLPolygonShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -227,7 +227,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLPathShapeContext(); + virtual ~SdXMLPathShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -247,7 +247,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLTextBoxShapeContext(); + virtual ~SdXMLTextBoxShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -268,7 +268,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLControlShapeContext(); + virtual ~SdXMLControlShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -303,7 +303,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLConnectorShapeContext(); + virtual ~SdXMLConnectorShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -325,7 +325,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLMeasureShapeContext(); + virtual ~SdXMLMeasureShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; virtual void EndElement() override; @@ -346,7 +346,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLPageShapeContext(); + virtual ~SdXMLPageShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -368,7 +368,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLCaptionShapeContext(); + virtual ~SdXMLCaptionShapeContext() override; virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override; // this is called from the parent group for each unparsed attribute in the attribute list @@ -389,7 +389,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLGraphicObjectShapeContext(); + virtual ~SdXMLGraphicObjectShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -437,7 +437,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLObjectShapeContext(); + virtual ~SdXMLObjectShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -467,7 +467,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLAppletShapeContext(); + virtual ~SdXMLAppletShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -496,7 +496,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLPluginShapeContext(); + virtual ~SdXMLPluginShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -526,7 +526,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLFloatingFrameShapeContext(); + virtual ~SdXMLFloatingFrameShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -556,7 +556,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes, bool bTemporaryShape); - virtual ~SdXMLFrameShapeContext(); + virtual ~SdXMLFrameShapeContext() override; virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; @@ -583,7 +583,7 @@ public: SdXMLCustomShapeContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLCustomShapeContext(); + virtual ~SdXMLCustomShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; virtual void EndElement() override; @@ -605,7 +605,7 @@ public: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes ); - virtual ~SdXMLTableShapeContext(); + virtual ~SdXMLTableShapeContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; diff --git a/xmloff/source/draw/ximpshow.hxx b/xmloff/source/draw/ximpshow.hxx index 865c508129c8..af59f8eec008 100644 --- a/xmloff/source/draw/ximpshow.hxx +++ b/xmloff/source/draw/ximpshow.hxx @@ -38,7 +38,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList); - virtual ~SdXMLShowsContext(); + virtual ~SdXMLShowsContext() override; virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 2533f27a6901..43676dd1078f 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -63,7 +63,7 @@ public: ::std::vector< XMLPropertyState > &rProps, const rtl::Reference < SvXMLImportPropertyMapper > &rMap ); - virtual ~SdXMLDrawingPagePropertySetContext(); + virtual ~SdXMLDrawingPagePropertySetContext() override; using SvXMLPropertySetContext::CreateChildContext; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, @@ -138,7 +138,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, SvXMLStylesContext& rStyles, sal_uInt16 nFamily = XML_STYLE_FAMILY_SD_DRAWINGPAGE_ID); - virtual ~SdXMLDrawingPageStyleContext(); + virtual ~SdXMLDrawingPageStyleContext() override; SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/source/draw/ximpstyl.hxx b/xmloff/source/draw/ximpstyl.hxx index 867f5b3fff39..c40d4d98b652 100644 --- a/xmloff/source/draw/ximpstyl.hxx +++ b/xmloff/source/draw/ximpstyl.hxx @@ -53,7 +53,7 @@ public: sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList); - virtual ~SdXMLPageMasterStyleContext(); + virtual ~SdXMLPageMasterStyleContext() override; sal_Int32 GetBorderBottom() const { return mnBorderBottom; } sal_Int32 GetBorderLeft() const { return mnBorderLeft; } @@ -106,7 +106,7 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); - virtual ~SdXMLMasterPageContext(); + virtual ~SdXMLMasterPageContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -137,7 +137,7 @@ public: sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList); - virtual ~SdXMLPresentationPlaceholderContext(); + virtual ~SdXMLPresentationPlaceholderContext() override; const OUString& GetName() const { return msName; } sal_Int32 GetX() const { return mnX; } |