diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-07 22:04:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-08 07:50:58 +0100 |
commit | 7896173f7ff017e338721b8079f00634a8879dab (patch) | |
tree | f465f88267d01b469bfe5b727b620b96abaadb31 /include | |
parent | 491992d0229afedba29b14778c918f6f9d2d7a07 (diff) |
fastparser in styles
Change-Id: I39d285f1dd7dd18c396db96863f77f511741951c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107364
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/XMLShapeStyleContext.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/XMLTextShapeStyleContext.hxx | 3 | ||||
-rw-r--r-- | include/xmloff/prstylei.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/txtstyli.hxx | 3 | ||||
-rw-r--r-- | include/xmloff/xmlnumi.hxx | 3 | ||||
-rw-r--r-- | include/xmloff/xmlstyle.hxx | 4 |
6 files changed, 6 insertions, 15 deletions
diff --git a/include/xmloff/XMLShapeStyleContext.hxx b/include/xmloff/XMLShapeStyleContext.hxx index 556cfec7cdfc..59b7c91e6b5e 100644 --- a/include/xmloff/XMLShapeStyleContext.hxx +++ b/include/xmloff/XMLShapeStyleContext.hxx @@ -37,9 +37,7 @@ class XMLOFF_DLLPUBLIC XMLShapeStyleContext: public XMLPropStyleContext protected: OUString m_sListStyleName; - virtual void SetAttribute( sal_uInt16 nPrefixKey, - const OUString& rLocalName, - const OUString& rValue ) override; + virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ) override; public: XMLShapeStyleContext( diff --git a/include/xmloff/XMLTextShapeStyleContext.hxx b/include/xmloff/XMLTextShapeStyleContext.hxx index 77e2bcbe58b1..bff4781526bc 100644 --- a/include/xmloff/XMLTextShapeStyleContext.hxx +++ b/include/xmloff/XMLTextShapeStyleContext.hxx @@ -29,8 +29,7 @@ class XMLOFF_DLLPUBLIC XMLTextShapeStyleContext final : public XMLShapeStyleCont rtl::Reference<XMLEventsImportContext> xEventContext; - virtual void SetAttribute( sal_uInt16 nPrefixKey, - const OUString& rLocalName, + virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ) override; public: diff --git a/include/xmloff/prstylei.hxx b/include/xmloff/prstylei.hxx index b79ae267f9b1..c2766f76fa0c 100644 --- a/include/xmloff/prstylei.hxx +++ b/include/xmloff/prstylei.hxx @@ -74,9 +74,7 @@ protected: static const OldFillStyleDefinitionSet& getHeaderSet(); static const OldFillStyleDefinitionSet& getFooterSet(); - virtual void SetAttribute( sal_uInt16 nPrefixKey, - const OUString& rLocalName, - const OUString& rValue ) override; + virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ) override; SvXMLStylesContext *GetStyles() { return mxStyles.get(); } ::std::vector< XMLPropertyState > & GetProperties() { return maProperties; } diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx index bb570ac9095c..27e9f6dd5b15 100644 --- a/include/xmloff/txtstyli.hxx +++ b/include/xmloff/txtstyli.hxx @@ -47,8 +47,7 @@ class XMLOFF_DLLPUBLIC XMLTextStyleContext : public XMLPropStyleContext protected: - virtual void SetAttribute( sal_uInt16 nPrefixKey, - const OUString& rLocalName, + virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ) override; public: diff --git a/include/xmloff/xmlnumi.hxx b/include/xmloff/xmlnumi.hxx index e8d0b1def920..4adfd437b95d 100644 --- a/include/xmloff/xmlnumi.hxx +++ b/include/xmloff/xmlnumi.hxx @@ -43,8 +43,7 @@ class XMLOFF_DLLPUBLIC SvxXMLListStyleContext final bool bConsecutive : 1; bool bOutline : 1; - SAL_DLLPRIVATE virtual void SetAttribute( sal_uInt16 nPrefixKey, - const OUString& rLocalName, + SAL_DLLPRIVATE virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ) override; public: diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx index a657f31393b6..d0b820258ba4 100644 --- a/include/xmloff/xmlstyle.hxx +++ b/include/xmloff/xmlstyle.hxx @@ -57,9 +57,7 @@ class XMLOFF_DLLPUBLIC SvXMLStyleContext : public SvXMLImportContext protected: - virtual void SetAttribute( sal_uInt16 nPrefixKey, - const OUString& rLocalName, - const OUString& rValue ); + virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ); void SetFamily( XmlStyleFamily nSet ) { mnFamily = nSet; } void SetAutoName( const OUString& rName ) { maAutoName = rName; } |