summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLEventImportHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-14 13:27:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-14 17:53:22 +0100
commit10e08b1d398e6aa91aa4ced0ca6c966349be8b5d (patch)
treeb2089d0bf9fc22eaaa02072c3168acfafcc86cb6 /xmloff/source/script/XMLEventImportHelper.cxx
parent2339b36033695f2b79997702770698f5db3ec4af (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/script/XMLEventImportHelper.cxx')
-rw-r--r--xmloff/source/script/XMLEventImportHelper.cxx6
1 files changed, 2 insertions, 4 deletions
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<XAttributeList> & 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<OUString> aMsgParams(2);