summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/script/XMLEventsImportContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx
index b37ec6d65570..7694bc482d94 100644
--- a/xmloff/source/script/XMLEventsImportContext.cxx
+++ b/xmloff/source/script/XMLEventsImportContext.cxx
@@ -173,7 +173,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > XMLEventsImportContext
{
sEventName = sValue;
}
- else if (aIter.getToken() == XML_ELEMENT(SCRIPT, XML_EVENT_NAME))
+ else if (aIter.getToken() == XML_ELEMENT(SCRIPT, XML_LANGUAGE))
{
sLanguage = sValue;
// else: ignore -> let child context handle this