diff options
Diffstat (limited to 'xmloff/source/script/XMLEventImportHelper.cxx')
-rw-r--r-- | xmloff/source/script/XMLEventImportHelper.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx index 18b795ee1f3d..9796224f902d 100644 --- a/xmloff/source/script/XMLEventImportHelper.cxx +++ b/xmloff/source/script/XMLEventImportHelper.cxx @@ -140,13 +140,8 @@ SvXMLImportContext* XMLEventImportHelper::CreateContext( { pContext = new SvXMLImportContext(rImport); - Sequence<OUString> aMsgParams(2); - - aMsgParams[0] = rXmlEventName; - aMsgParams[1] = rLanguage; - rImport.SetError(XMLERROR_FLAG_ERROR | XMLERROR_ILLEGAL_EVENT, - aMsgParams); + { rXmlEventName, rLanguage }); } |