[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - xmloff/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 27 16:31:48 UTC 2020


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

New commits:
commit b0eec225c61eb5e72e61da2edd7ee26305a11cab
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Aug 27 11:57:28 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Aug 27 18:31:07 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.grandin at collabora.co.uk>
    (cherry picked from commit bd2d082a0c681ec7340ed01a27b7d2c7ab14549c)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101454

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


More information about the Libreoffice-commits mailing list