summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-27 11:57:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-27 18:31:07 +0200
commitb0eec225c61eb5e72e61da2edd7ee26305a11cab (patch)
tree7ab2b084f39b3b8edf444d4034fc6f0ab9ff84b0 /xmloff
parent990245577df21b5ffd6fbaa548500731f31b1d36 (diff)
fix bug in XMLEventsImportContext
ever since commit 10e08b1d398e6aa91aa4ced0ca6c966349be8b5d Date: Fri Feb 14 13:27:23 2020 +0200 convert XMLEventsImportContext to fastparser Change-Id: I3bdc514f25a38f598d2a764c536b46f6ded9d14c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101473 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit bd2d082a0c681ec7340ed01a27b7d2c7ab14549c) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101454
Diffstat (limited to 'xmloff')
-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 5960b5215e91..a5a8837ec423 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