diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /xmloff/source/text | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'xmloff/source/text')
51 files changed, 172 insertions, 172 deletions
diff --git a/xmloff/source/text/XMLAnchorTypePropHdl.hxx b/xmloff/source/text/XMLAnchorTypePropHdl.hxx index b33882297f88..92553b184ac3 100644 --- a/xmloff/source/text/XMLAnchorTypePropHdl.hxx +++ b/xmloff/source/text/XMLAnchorTypePropHdl.hxx @@ -32,11 +32,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& rUnitConverter ) const; + const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& rUnitConverter ) const; + const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE; static bool convert( const OUString& rStrImpValue, ::com::sun::star::text::TextContentAnchorType& rType ); }; diff --git a/xmloff/source/text/XMLAutoMarkFileContext.hxx b/xmloff/source/text/XMLAutoMarkFileContext.hxx index 9f5a8380f050..c1ef67691394 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.hxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.hxx @@ -49,7 +49,7 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx index dcb63f223f02..9d830566d305 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx @@ -60,7 +60,7 @@ protected: sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx index 8456c7df6e65..ebc402ba3cce 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.hxx +++ b/xmloff/source/text/XMLAutoTextEventExport.hxx @@ -67,13 +67,13 @@ public: ::com::sun::star::uno::Any> & rArguments ) throw( ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception); + ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: /// export the events off all autotexts virtual sal_uInt32 exportDoc( - enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID ); + enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID ) SAL_OVERRIDE; /// does the document have any events ? sal_Bool hasEvents(); @@ -88,13 +88,13 @@ protected: // methods without content: - virtual void _ExportMeta(); - virtual void _ExportScripts(); - virtual void _ExportFontDecls(); - virtual void _ExportStyles( bool bUsed ) ; - virtual void _ExportAutoStyles(); - virtual void _ExportMasterStyles(); - virtual void _ExportContent(); + virtual void _ExportMeta() SAL_OVERRIDE; + virtual void _ExportScripts() SAL_OVERRIDE; + virtual void _ExportFontDecls() SAL_OVERRIDE; + virtual void _ExportStyles( bool bUsed ) SAL_OVERRIDE ; + virtual void _ExportAutoStyles() SAL_OVERRIDE; + virtual void _ExportMasterStyles() SAL_OVERRIDE; + virtual void _ExportContent() SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx index 3012f7483991..4e218aa6c03c 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextEventImport.hxx @@ -56,7 +56,7 @@ public: ::com::sun::star::uno::Any> & rArguments ) throw( ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception); + ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: @@ -64,7 +64,7 @@ protected: sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLCalculationSettingsContext.hxx b/xmloff/source/text/XMLCalculationSettingsContext.hxx index 9fafb9c94abd..86560843f9d3 100644 --- a/xmloff/source/text/XMLCalculationSettingsContext.hxx +++ b/xmloff/source/text/XMLCalculationSettingsContext.hxx @@ -33,7 +33,7 @@ public: ::com::sun::star::xml::sax::XAttributeList >& xAttrList ); virtual ~XMLCalculationSettingsContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx index 876381055b66..89d24799c375 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.hxx +++ b/xmloff/source/text/XMLChangeElementImportContext.hxx @@ -74,15 +74,15 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; // #107848# // Start- and EndElement are needed here to set the inside_deleted_section // flag at the corresponding TextImportHelper - virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ); + virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) SAL_OVERRIDE; // #107848# - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx index 7228ed38686e..6ed96bb53273 100644 --- a/xmloff/source/text/XMLChangeImportContext.hxx +++ b/xmloff/source/text/XMLChangeImportContext.hxx @@ -68,7 +68,7 @@ public: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLChangeInfoContext.hxx b/xmloff/source/text/XMLChangeInfoContext.hxx index 3f87ad9f1319..6851e4ef2e9f 100644 --- a/xmloff/source/text/XMLChangeInfoContext.hxx +++ b/xmloff/source/text/XMLChangeInfoContext.hxx @@ -64,15 +64,15 @@ public: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList >& xAttrList ); + ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx index fc312f4c6633..0eee664216a5 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.hxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx @@ -66,15 +66,15 @@ public: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; /// change info: To be called from change-info context diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx index 207ffc3987b6..53f97786ab51 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx @@ -50,7 +50,7 @@ protected: sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx index bd120598f9f7..7a632f328ad0 100644 --- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx @@ -71,9 +71,9 @@ public: XMLFootnoteConfigurationImportContext& rConfigImport, bool bBegin); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; }; TYPEINIT1( XMLFootnoteConfigHelper, SvXMLImportContext ); diff --git a/xmloff/source/text/XMLFootnoteImportContext.hxx b/xmloff/source/text/XMLFootnoteImportContext.hxx index 556ccfaa7cf3..cbf26c61bc91 100644 --- a/xmloff/source/text/XMLFootnoteImportContext.hxx +++ b/xmloff/source/text/XMLFootnoteImportContext.hxx @@ -68,18 +68,18 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; virtual void Characters( - const OUString& rChars); + const OUString& rChars) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx index 6ada329b8324..9ee884180c5f 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx @@ -81,15 +81,15 @@ protected: virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, - const OUString& rValue); + const OUString& rValue) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx index 027cac96e04a..42b18cc85fc9 100644 --- a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx @@ -60,15 +60,15 @@ protected: /** process parameters */ virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; /** call FillPropertyValues and insert into template */ - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; /** fill property values for this template entry */ virtual void FillPropertyValues( ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue> & rValues); + ::com::sun::star::beans::PropertyValue> & rValues) SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx index 3e62d41d0635..463b9c5d36ad 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx @@ -53,15 +53,15 @@ protected: virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, - const OUString& rValue); + const OUString& rValue) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx index 3d72ec04f8f4..581faf4de228 100644 --- a/xmloff/source/text/XMLIndexBodyContext.hxx +++ b/xmloff/source/text/XMLIndexBodyContext.hxx @@ -59,7 +59,7 @@ protected: sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; inline sal_Bool XMLIndexBodyContext::HasContent() diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx index f89db81231f2..1a8fcc55bbed 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx @@ -61,12 +61,12 @@ protected: /** process parameters */ virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; /** fill property values for this template entry */ virtual void FillPropertyValues( ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue> & rValues); + ::com::sun::star::beans::PropertyValue> & rValues) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx index d1a3b2ff9326..31ba6d064e56 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx @@ -57,7 +57,7 @@ protected: sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.hxx b/xmloff/source/text/XMLIndexObjectSourceContext.hxx index 2378f6dfef3b..ca9c7f5f7bc3 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.hxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.hxx @@ -64,15 +64,15 @@ protected: virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, - const OUString& rValue); + const OUString& rValue) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx index 824626f96735..5d5d1bade48d 100644 --- a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx @@ -69,10 +69,10 @@ protected: /** process parameters */ virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; /** call FillPropertyValues and insert into template */ - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; /** fill property values for this template entry */ virtual void FillPropertyValues( diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx index 43650e09bfdc..4ee4462b71c6 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx @@ -107,19 +107,19 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, const OUString& rValue); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.hxx b/xmloff/source/text/XMLIndexSpanEntryContext.hxx index 87152e32cfcf..e28839a2c9a4 100644 --- a/xmloff/source/text/XMLIndexSpanEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSpanEntryContext.hxx @@ -52,12 +52,12 @@ public: protected: /// Collect element contents - virtual void Characters(const OUString& sString); + virtual void Characters(const OUString& sString) SAL_OVERRIDE; /// add Text PropertyValue virtual void FillPropertyValues( ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue> & rValues); + ::com::sun::star::beans::PropertyValue> & rValues) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTOCContext.hxx b/xmloff/source/text/XMLIndexTOCContext.hxx index c49b986235cd..c33334adc634 100644 --- a/xmloff/source/text/XMLIndexTOCContext.hxx +++ b/xmloff/source/text/XMLIndexTOCContext.hxx @@ -83,15 +83,15 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.hxx b/xmloff/source/text/XMLIndexTOCSourceContext.hxx index 235dc5221ce1..a56853d14e2d 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.hxx @@ -63,15 +63,15 @@ protected: virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, - const OUString& rValue); + const OUString& rValue) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.hxx b/xmloff/source/text/XMLIndexTOCStylesContext.hxx index c57cc729827d..bd1359f2b132 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.hxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.hxx @@ -71,15 +71,15 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx index 1414fcfaa4b0..c6865967eecd 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx @@ -60,12 +60,12 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; /** fill property values for this template entry */ virtual void FillPropertyValues( ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue> & rValues); + ::com::sun::star::beans::PropertyValue> & rValues) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTableSourceContext.hxx b/xmloff/source/text/XMLIndexTableSourceContext.hxx index d758fc8fe680..a8949315cac8 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.hxx @@ -63,15 +63,15 @@ protected: virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, - const OUString& rValue); + const OUString& rValue) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx index 16935eb11f0c..50ca020cc7eb 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTemplateContext.hxx @@ -136,15 +136,15 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx index 19d1b6a05807..b1b9331623dd 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx @@ -70,13 +70,13 @@ protected: /** process parameters */ virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; /** set values */ - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; /** pick up title characters */ - virtual void Characters(const OUString& sString); + virtual void Characters(const OUString& sString) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLIndexUserSourceContext.hxx b/xmloff/source/text/XMLIndexUserSourceContext.hxx index 8f3476335997..e4254256bd3d 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.hxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.hxx @@ -70,15 +70,15 @@ protected: virtual void ProcessAttribute( enum IndexSourceParamEnum eParam, - const OUString& rValue); + const OUString& rValue) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx index 1f28bf5778ec..2815ca95b46d 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx @@ -54,11 +54,11 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx index 80f8ba963238..30e1ef13be39 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx @@ -60,7 +60,7 @@ public: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx index b7375c16a833..5e69f563ed3a 100644 --- a/xmloff/source/text/XMLSectionImportContext.hxx +++ b/xmloff/source/text/XMLSectionImportContext.hxx @@ -90,15 +90,15 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; void ProcessAttributes( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx index 8b082cfd14a6..5de48e0ddaab 100644 --- a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx @@ -55,15 +55,15 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLSectionSourceImportContext.hxx b/xmloff/source/text/XMLSectionSourceImportContext.hxx index 2f6fcb671211..5d0a408d3e55 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.hxx @@ -50,15 +50,15 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList ) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index e3aaaff4dd72..9387f3c7e764 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -123,7 +123,7 @@ public: OUString& rTitleOrDesc ); virtual ~XMLTextFrameTitleOrDescContext_Impl(); - virtual void Characters( const OUString& rText ); + virtual void Characters( const OUString& rText ) SAL_OVERRIDE; }; TYPEINIT1( XMLTextFrameTitleOrDescContext_Impl, SvXMLImportContext ); @@ -446,14 +446,14 @@ public: ::com::sun::star::xml::sax::XAttributeList > & rFrameAttrList ); virtual ~XMLTextFrameContext_Impl(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; void SetHyperlink( const OUString& rHRef, const OUString& rName, diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx index 816e079a4457..712ae8f92df9 100644 --- a/xmloff/source/text/XMLTextFrameContext.hxx +++ b/xmloff/source/text/XMLTextFrameContext.hxx @@ -59,8 +59,8 @@ class XMLTextFrameContext : public SvXMLImportContext, public MultiImageImportHe protected: /// helper to get the created xShape instance, needs to be overloaded - virtual OUString getGraphicURLFromImportContext(const SvXMLImportContext& rContext) const; - virtual void removeGraphicFromImportContext(const SvXMLImportContext& rContext) const; + virtual OUString getGraphicURLFromImportContext(const SvXMLImportContext& rContext) const SAL_OVERRIDE; + virtual void removeGraphicFromImportContext(const SvXMLImportContext& rContext) const SAL_OVERRIDE; public: @@ -74,12 +74,12 @@ public: ::com::sun::star::text::TextContentAnchorType eDfltAnchorType ); virtual ~XMLTextFrameContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; void SetHyperlink( const OUString& rHRef, const OUString& rName, diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx index 501e8a5f61e3..f93cee8e52f7 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx @@ -50,12 +50,12 @@ public: ::com::sun::star::text::TextContentAnchorType eDefaultAnchorType ); virtual ~XMLTextFrameHyperlinkContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; ::com::sun::star::text::TextContentAnchorType GetAnchorType() const; diff --git a/xmloff/source/text/XMLTextListBlockContext.hxx b/xmloff/source/text/XMLTextListBlockContext.hxx index cc4196d455cd..3cce135fd48c 100644 --- a/xmloff/source/text/XMLTextListBlockContext.hxx +++ b/xmloff/source/text/XMLTextListBlockContext.hxx @@ -62,12 +62,12 @@ public: const sal_Bool bRestartNumberingAtSubList = sal_False ); virtual ~XMLTextListBlockContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; const OUString& GetListStyleName() const { return msListStyleName; } sal_Int16 GetLevel() const { return mnLevel; } diff --git a/xmloff/source/text/XMLTextListItemContext.hxx b/xmloff/source/text/XMLTextListItemContext.hxx index 53c2ea13f9d8..3f6bf0182e65 100644 --- a/xmloff/source/text/XMLTextListItemContext.hxx +++ b/xmloff/source/text/XMLTextListItemContext.hxx @@ -50,12 +50,12 @@ public: const sal_Bool bIsHeader = sal_False ); virtual ~XMLTextListItemContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; sal_Bool HasStartValue() const { return -1 != nStartValue; } sal_Int16 GetStartValue() const { return nStartValue; } diff --git a/xmloff/source/text/XMLTextMarkImportContext.hxx b/xmloff/source/text/XMLTextMarkImportContext.hxx index 460f670b8ec0..c476ce43e571 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.hxx +++ b/xmloff/source/text/XMLTextMarkImportContext.hxx @@ -48,7 +48,7 @@ public: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; }; @@ -87,12 +87,12 @@ protected: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); - virtual void EndElement(); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ); + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) SAL_OVERRIDE; public: static ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLTextPropertySetContext.hxx b/xmloff/source/text/XMLTextPropertySetContext.hxx index 4adb945e3b10..b66408e7e431 100644 --- a/xmloff/source/text/XMLTextPropertySetContext.hxx +++ b/xmloff/source/text/XMLTextPropertySetContext.hxx @@ -47,7 +47,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList, ::std::vector< XMLPropertyState > &rProperties, - const XMLPropertyState& rProp); + const XMLPropertyState& rProp) SAL_OVERRIDE; }; diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index 11747f1176ce..11306f907858 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -55,7 +55,7 @@ public: const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, ::std::vector< XMLPropertyState > &rProperties, - const XMLPropertyState& rProp); + const XMLPropertyState& rProp) SAL_OVERRIDE; }; XMLTextShapePropertySetContext_Impl::XMLTextShapePropertySetContext_Impl( diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.hxx b/xmloff/source/text/XMLTrackedChangesImportContext.hxx index 45b3b9a54eeb..b6991004c5da 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.hxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.hxx @@ -48,13 +48,13 @@ public: virtual void StartElement( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList >& xAttrList ); + ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) SAL_OVERRIDE; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + ::com::sun::star::xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; }; #endif diff --git a/xmloff/source/text/txtdropi.hxx b/xmloff/source/text/txtdropi.hxx index fc6551024d63..bd3009ddd018 100644 --- a/xmloff/source/text/txtdropi.hxx +++ b/xmloff/source/text/txtdropi.hxx @@ -48,7 +48,7 @@ public: virtual ~XMLTextDropCapImportContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; const OUString& GetStyleName() const { return sStyleName; } }; diff --git a/xmloff/source/text/txtexppr.hxx b/xmloff/source/text/txtexppr.hxx index 83bded4d9c95..d300de6099d5 100644 --- a/xmloff/source/text/txtexppr.hxx +++ b/xmloff/source/text/txtexppr.hxx @@ -60,7 +60,7 @@ protected: bool bEnableFoFontFamily, ::std::vector< XMLPropertyState >& rProperties, ::com::sun::star::uno::Reference< - ::com::sun::star::beans::XPropertySet > rPropSet ) const; + ::com::sun::star::beans::XPropertySet > rPropSet ) const SAL_OVERRIDE; const SvXMLExport& GetExport() const { return rExport; } public: @@ -75,7 +75,7 @@ public: const XMLPropertyState& rProperty, sal_uInt16 nFlags, const ::std::vector< XMLPropertyState > *pProperties = 0, - sal_uInt32 nIdx = 0 ) const; + sal_uInt32 nIdx = 0 ) const SAL_OVERRIDE; virtual void handleSpecialItem( SvXMLAttributeList& rAttrList, @@ -83,7 +83,7 @@ public: const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties = 0, - sal_uInt32 nIdx = 0 ) const; + sal_uInt32 nIdx = 0 ) const SAL_OVERRIDE; }; diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index e5067cec49cb..ad19b00707b1 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -308,9 +308,9 @@ public: ); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const Reference< xml::sax::XAttributeList > & xAttrList ); + const Reference< xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; }; class XMLImpHyperlinkContext_Impl : public SvXMLImportContext @@ -336,9 +336,9 @@ public: virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const Reference< xml::sax::XAttributeList > & xAttrList ); + const Reference< xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; }; TYPEINIT1( XMLImpHyperlinkContext_Impl, SvXMLImportContext ); @@ -469,9 +469,9 @@ public: virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const Reference< xml::sax::XAttributeList > & xAttrList ); + const Reference< xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; }; TYPEINIT1( XMLImpRubyBaseContext_Impl, SvXMLImportContext ); @@ -538,7 +538,7 @@ public: virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const Reference< xml::sax::XAttributeList > & xAttrList ); + const Reference< xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; void SetTextStyleName( const OUString& s ) { m_sTextStyleName = s; } void AppendText( const OUString& s ) { m_sText += s; } @@ -561,7 +561,7 @@ public: virtual ~XMLImpRubyTextContext_Impl(); - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; }; TYPEINIT1( XMLImpRubyTextContext_Impl, SvXMLImportContext ); @@ -704,15 +704,15 @@ public: virtual ~XMLMetaImportContextBase(); virtual void StartElement( - const Reference<xml::sax::XAttributeList> & i_xAttrList); + const Reference<xml::sax::XAttributeList> & i_xAttrList) SAL_OVERRIDE; - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, - const Reference< xml::sax::XAttributeList > & i_xAttrList); + const Reference< xml::sax::XAttributeList > & i_xAttrList) SAL_OVERRIDE; - virtual void Characters( const OUString& i_rChars ); + virtual void Characters( const OUString& i_rChars ) SAL_OVERRIDE; virtual void ProcessAttribute(sal_uInt16 const i_nPrefix, OUString const & i_rLocalName, OUString const & i_rValue); @@ -821,9 +821,9 @@ public: sal_Bool & i_rIgnoreLeadingSpace ); virtual void ProcessAttribute(sal_uInt16 const i_nPrefix, - OUString const & i_rLocalName, OUString const & i_rValue); + OUString const & i_rLocalName, OUString const & i_rValue) SAL_OVERRIDE; - virtual void InsertMeta(const Reference<XTextRange> & i_xInsertionRange); + virtual void InsertMeta(const Reference<XTextRange> & i_xInsertionRange) SAL_OVERRIDE; }; TYPEINIT1( XMLMetaImportContext, XMLMetaImportContextBase ); @@ -915,9 +915,9 @@ public: sal_Bool & i_rIgnoreLeadingSpace ); virtual void ProcessAttribute(sal_uInt16 const i_nPrefix, - OUString const & i_rLocalName, OUString const & i_rValue); + OUString const & i_rLocalName, OUString const & i_rValue) SAL_OVERRIDE; - virtual void InsertMeta(const Reference<XTextRange> & i_xInsertionRange); + virtual void InsertMeta(const Reference<XTextRange> & i_xInsertionRange) SAL_OVERRIDE; }; TYPEINIT1( XMLMetaFieldImportContext, XMLMetaImportContextBase ); @@ -1020,7 +1020,7 @@ public: enum XMLTextPElemTokens nTok, XMLHints_Impl& rHnts); - void StartElement(const Reference<xml::sax::XAttributeList> & xAttrList); + void StartElement(const Reference<xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; protected: @@ -1299,7 +1299,7 @@ protected: virtual void ProcessAttribute(sal_uInt16 nNamespace, const OUString& sLocalName, const OUString& sValue, - Reference<beans::XPropertySet>& rPropSet); + Reference<beans::XPropertySet>& rPropSet) SAL_OVERRIDE; }; TYPEINIT1( XMLTOCMarkImportContext_Impl, XMLIndexMarkImportContext_Impl ); @@ -1364,7 +1364,7 @@ protected: virtual void ProcessAttribute(sal_uInt16 nNamespace, const OUString& sLocalName, const OUString& sValue, - Reference<beans::XPropertySet>& rPropSet); + Reference<beans::XPropertySet>& rPropSet) SAL_OVERRIDE; }; TYPEINIT1( XMLUserIndexMarkImportContext_Impl, XMLIndexMarkImportContext_Impl); @@ -1441,7 +1441,7 @@ protected: virtual void ProcessAttribute(sal_uInt16 nNamespace, const OUString& sLocalName, const OUString& sValue, - Reference<beans::XPropertySet>& rPropSet); + Reference<beans::XPropertySet>& rPropSet) SAL_OVERRIDE; }; TYPEINIT1( XMLAlphaIndexMarkImportContext_Impl, diff --git a/xmloff/source/text/txtparai.hxx b/xmloff/source/text/txtparai.hxx index df9c79db4f84..40cb943e3744 100644 --- a/xmloff/source/text/txtparai.hxx +++ b/xmloff/source/text/txtparai.hxx @@ -71,9 +71,9 @@ public: virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - virtual void Characters( const OUString& rChars ); + virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; }; @@ -103,12 +103,12 @@ public: virtual ~XMLNumberedParaContext(); - virtual void EndElement(); + virtual void EndElement() SAL_OVERRIDE; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & i_xAttrList ); + ::com::sun::star::xml::sax::XAttributeList > & i_xAttrList ) SAL_OVERRIDE; sal_Int16 GetLevel() const { return m_Level; } const ::com::sun::star::uno::Reference < diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index 032a055dac84..86ba23d758df 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -258,17 +258,17 @@ public: virtual bool equals( const ::com::sun::star::uno::Any& r1, - const ::com::sun::star::uno::Any& r2 ) const; + const ::com::sun::star::uno::Any& r2 ) const SAL_OVERRIDE; /// TabStops will be imported/exported as XML-Elements. So the Import/Export-work must be done at another place. virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; XMLDropCapPropHdl_Impl::~XMLDropCapPropHdl_Impl () @@ -315,11 +315,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLOpaquePropHdl_Impl::importXML( @@ -365,11 +365,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLContourModePropHdl_Impl::importXML( @@ -415,11 +415,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLParagraphOnlyPropHdl_Impl::importXML( @@ -479,11 +479,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLWrapPropHdl_Impl::importXML( @@ -533,11 +533,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLFrameProtectPropHdl_Impl::importXML( @@ -722,11 +722,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLHoriMirrorPropHdl_Impl::importXML( @@ -775,11 +775,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLGrfMirrorPropHdl_Impl::importXML( @@ -869,11 +869,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLTextEmphasizePropHdl_Impl::importXML( @@ -970,11 +970,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLTextCombineCharPropHdl_Impl::importXML( @@ -1014,11 +1014,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLTextRelWidthHeightPropHdl_Impl::importXML( @@ -1069,11 +1069,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLTextSyncWidthHeightPropHdl_Impl::importXML( @@ -1116,11 +1116,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLTextRotationAnglePropHdl_Impl::importXML( @@ -1179,11 +1179,11 @@ public: virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, - const SvXMLUnitConverter& ) const; + const SvXMLUnitConverter& ) const SAL_OVERRIDE; }; bool XMLNumber8OneBasedHdl::importXML( diff --git a/xmloff/source/text/txtprhdl.hxx b/xmloff/source/text/txtprhdl.hxx index 27a5918d6db4..3af66c14b93e 100644 --- a/xmloff/source/text/txtprhdl.hxx +++ b/xmloff/source/text/txtprhdl.hxx @@ -33,7 +33,7 @@ public: XMLTextPropertyHandlerFactory(); virtual ~XMLTextPropertyHandlerFactory(); - virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const ; + virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const SAL_OVERRIDE ; }; |