xmloff/source/script/XMLEventsImportContext.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd2d082a0c681ec7340ed01a27b7d2c7ab14549c
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Aug 27 11:57:28 2020 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Aug 27 15:59:55 2020 +0200

    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.gran...@collabora.co.uk>

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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to