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 15:59:55 +0200
commitbd2d082a0c681ec7340ed01a27b7d2c7ab14549c (patch)
tree57ee4710014e576ed60681f80f63fab06dd3348f /xmloff
parent781b6ac998370f2923c0783100da7086bfad622d (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>
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 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