summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /xmloff/source/xforms
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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/xforms')
-rw-r--r--xmloff/source/xforms/SchemaContext.hxx4
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.hxx4
-rw-r--r--xmloff/source/xforms/SchemaSimpleTypeContext.hxx4
-rw-r--r--xmloff/source/xforms/TokenContext.hxx6
-rw-r--r--xmloff/source/xforms/XFormsBindContext.hxx6
-rw-r--r--xmloff/source/xforms/XFormsInstanceContext.hxx8
-rw-r--r--xmloff/source/xforms/XFormsModelContext.hxx6
-rw-r--r--xmloff/source/xforms/XFormsSubmissionContext.hxx4
8 files changed, 21 insertions, 21 deletions
diff --git a/xmloff/source/xforms/SchemaContext.hxx b/xmloff/source/xforms/SchemaContext.hxx
index 6740fbca971f..7d4e3327b489 100644
--- a/xmloff/source/xforms/SchemaContext.hxx
+++ b/xmloff/source/xforms/SchemaContext.hxx
@@ -58,13 +58,13 @@ protected:
virtual void HandleAttribute(
sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
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;
};
#endif
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.hxx b/xmloff/source/xforms/SchemaRestrictionContext.hxx
index fb05a1ca8900..e55e945d7686 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.hxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.hxx
@@ -65,13 +65,13 @@ protected:
virtual void HandleAttribute(
sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
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;
};
#endif
diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.hxx b/xmloff/source/xforms/SchemaSimpleTypeContext.hxx
index e3fde9683381..a84f4ce57194 100644
--- a/xmloff/source/xforms/SchemaSimpleTypeContext.hxx
+++ b/xmloff/source/xforms/SchemaSimpleTypeContext.hxx
@@ -60,13 +60,13 @@ protected:
virtual void HandleAttribute(
sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
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;
};
#endif
diff --git a/xmloff/source/xforms/TokenContext.hxx b/xmloff/source/xforms/TokenContext.hxx
index da82828d557c..156b80305758 100644
--- a/xmloff/source/xforms/TokenContext.hxx
+++ b/xmloff/source/xforms/TokenContext.hxx
@@ -63,7 +63,7 @@ public:
* create a warning for all others. Classes that wish to override
* StartElement need to call the parent method. */
virtual void StartElement(
- 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;
/** call HandleChild for each child element in the token map;
* create a warning for all others. Classes that wish to override
@@ -72,13 +72,13 @@ public:
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;
/** Create a warning for all non-namespace character
* content. Classes that wish to deal with character content have
* to overload this method anyway, and will thus get rid of the
* warnings. */
- virtual void Characters( const OUString& rChars );
+ virtual void Characters( const OUString& rChars ) SAL_OVERRIDE;
protected:
/** will be called for each attribute */
diff --git a/xmloff/source/xforms/XFormsBindContext.hxx b/xmloff/source/xforms/XFormsBindContext.hxx
index 8d955a5c5a32..4dec0e109977 100644
--- a/xmloff/source/xforms/XFormsBindContext.hxx
+++ b/xmloff/source/xforms/XFormsBindContext.hxx
@@ -57,17 +57,17 @@ public:
virtual void StartElement(
- 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;
protected:
virtual void HandleAttribute( sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
sal_uInt16 nNamespace,
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;
};
diff --git a/xmloff/source/xforms/XFormsInstanceContext.hxx b/xmloff/source/xforms/XFormsInstanceContext.hxx
index 6afcb6f4f360..a42b6967fdb6 100644
--- a/xmloff/source/xforms/XFormsInstanceContext.hxx
+++ b/xmloff/source/xforms/XFormsInstanceContext.hxx
@@ -65,21 +65,21 @@ public:
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;
- virtual void EndElement();
+ virtual void EndElement() SAL_OVERRIDE;
protected:
virtual void HandleAttribute(
sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
sal_uInt16 nNamespace,
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;
};
#endif
diff --git a/xmloff/source/xforms/XFormsModelContext.hxx b/xmloff/source/xforms/XFormsModelContext.hxx
index 10c421427d07..ef4a4b550750 100644
--- a/xmloff/source/xforms/XFormsModelContext.hxx
+++ b/xmloff/source/xforms/XFormsModelContext.hxx
@@ -54,19 +54,19 @@ public:
// implement SvXMLImportContext & TokenContext methods:
- virtual void EndElement();
+ virtual void EndElement() SAL_OVERRIDE;
protected:
virtual void HandleAttribute(
sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
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;
};
#endif
diff --git a/xmloff/source/xforms/XFormsSubmissionContext.hxx b/xmloff/source/xforms/XFormsSubmissionContext.hxx
index 27ade1e550a4..82c9292b0c34 100644
--- a/xmloff/source/xforms/XFormsSubmissionContext.hxx
+++ b/xmloff/source/xforms/XFormsSubmissionContext.hxx
@@ -57,13 +57,13 @@ public:
protected:
virtual void HandleAttribute( sal_uInt16 nToken,
- const OUString& rValue );
+ const OUString& rValue ) SAL_OVERRIDE;
virtual SvXMLImportContext* HandleChild(
sal_uInt16 nToken,
sal_uInt16 nNamespace,
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;
};