From 10e08b1d398e6aa91aa4ced0ca6c966349be8b5d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 14 Feb 2020 13:27:23 +0200 Subject: convert XMLEventsImportContext to fastparser for now, it supports both fast and non-fast methods, since it is constructed by both contexts Change-Id: I925c50be161b95ecebd951cb7038a938c848a15d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88715 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/script/XMLEventImportHelper.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'xmloff/source/script/XMLEventImportHelper.cxx') diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx index bbdb65ecbcd0..f657198dc910 100644 --- a/xmloff/source/script/XMLEventImportHelper.cxx +++ b/xmloff/source/script/XMLEventImportHelper.cxx @@ -99,8 +99,6 @@ void XMLEventImportHelper::PopTranslationTable() SvXMLImportContext* XMLEventImportHelper::CreateContext( SvXMLImport& rImport, - sal_uInt16 nPrefix, - const OUString& rLocalName, const Reference & xAttrList, XMLEventsImportContext* rEvents, const OUString& rXmlEventName, @@ -132,7 +130,7 @@ SvXMLImportContext* XMLEventImportHelper::CreateContext( { // delegate to factory pContext = aFactoryIterator->second->CreateContext( - rImport, nPrefix, rLocalName, xAttrList, + rImport, xAttrList, rEvents, aNameIter->second); } } @@ -140,7 +138,7 @@ SvXMLImportContext* XMLEventImportHelper::CreateContext( // default context (if no context was created above) if( nullptr == pContext ) { - pContext = new SvXMLImportContext(rImport, nPrefix, rLocalName); + pContext = new SvXMLImportContext(rImport); Sequence aMsgParams(2); -- cgit