From bb124fe673d69f8a79478bf25329978a452b82da Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 19 Nov 2020 11:52:50 +0200 Subject: fastparser in DomBuilderContext Change-Id: I77a41dbb16b34601e559a56d58af14404ac8cbbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106126 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/inc/DomBuilderContext.hxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'xmloff/inc/DomBuilderContext.hxx') diff --git a/xmloff/inc/DomBuilderContext.hxx b/xmloff/inc/DomBuilderContext.hxx index 4df66e7ec5e3..ef019030d831 100644 --- a/xmloff/inc/DomBuilderContext.hxx +++ b/xmloff/inc/DomBuilderContext.hxx @@ -49,13 +49,11 @@ public: /** default constructor: create new DOM tree */ DomBuilderContext( SvXMLImport& rImport, - sal_uInt16 nPrefix, - const OUString& rLocalName ); + sal_Int32 nElement ); /** constructor: create DOM subtree under the given node */ DomBuilderContext( SvXMLImport& rImport, - sal_uInt16 nPrefix, - const OUString& rLocalName, + sal_Int32 nElement, css::uno::Reference const & ); virtual ~DomBuilderContext() override; @@ -70,11 +68,8 @@ public: // implement SvXMLImportContext methods: - - virtual SvXMLImportContextRef CreateChildContext( - sal_uInt16 nPrefix, - const OUString& rLocalName, - const css::uno::Reference& xAttrList ) override; + virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( + sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; virtual void StartElement( const css::uno::Reference& xAttrList ) override; -- cgit