diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-25 16:35:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-26 08:42:35 +0200 |
commit | f7336500ba157c85c84e198f7043cf06ef627085 (patch) | |
tree | df330927723175a774699726372609e42250519d /include/xmloff | |
parent | 49d7a4cdf4c2d7b01faccb751d8f2002e2437b59 (diff) |
remove slowparser stuff from SvXMLStyleContext
Change-Id: Ic4efc2eba7d1cdd71df76b535811c706bab3860e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101347
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/XMLTextMasterStylesContext.hxx | 7 | ||||
-rw-r--r-- | include/xmloff/xmlstyle.hxx | 21 |
2 files changed, 0 insertions, 28 deletions
diff --git a/include/xmloff/XMLTextMasterStylesContext.hxx b/include/xmloff/XMLTextMasterStylesContext.hxx index 59d769e9f643..1671ac01a2bc 100644 --- a/include/xmloff/XMLTextMasterStylesContext.hxx +++ b/include/xmloff/XMLTextMasterStylesContext.hxx @@ -27,16 +27,9 @@ class XMLOFF_DLLPUBLIC XMLTextMasterStylesContext : public SvXMLStylesContext { protected: - using SvXMLStylesContext::CreateStyleChildContext; virtual SvXMLStyleContext *CreateStyleChildContext( sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) override; - using SvXMLStylesContext::CreateStyleStyleChildContext; - virtual SvXMLStyleContext *CreateStyleStyleChildContext( XmlStyleFamily nFamily, - sal_uInt16 nPrefix, - const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override; - virtual bool InsertStyleFamily( XmlStyleFamily nFamily ) const override; public: diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx index 475fe6c8ec79..8ec4887bf364 100644 --- a/include/xmloff/xmlstyle.hxx +++ b/include/xmloff/xmlstyle.hxx @@ -187,28 +187,15 @@ protected: SvXMLStyleContext *GetStyle( sal_uInt32 i ); const SvXMLStyleContext *GetStyle( sal_uInt32 i ) const; - virtual SvXMLStyleContext *CreateStyleChildContext( sal_uInt16 nPrefix, - const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); - virtual SvXMLStyleContext *CreateStyleChildContext( sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ); virtual SvXMLStyleContext *CreateStyleStyleChildContext( XmlStyleFamily nFamily, - sal_uInt16 nPrefix, const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); - - virtual SvXMLStyleContext *CreateStyleStyleChildContext( XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); virtual SvXMLStyleContext *CreateDefaultStyleStyleChildContext( - XmlStyleFamily nFamily, sal_uInt16 nPrefix, - const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); - - virtual SvXMLStyleContext *CreateDefaultStyleStyleChildContext( XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); @@ -228,14 +215,6 @@ public: virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; - // Create child element. - virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, - const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override; - - // Override this method to insert styles into the document. - virtual void EndElement() override; - // This allows to add an SvXMLStyleContext to this context from extern void AddStyle(SvXMLStyleContext& rNew); |