[Libreoffice-commits] core.git: xmloff/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 27 07:06:34 UTC 2020


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

New commits:
commit 3faf503b1a389affcff1bcbd63630963f634e486
Author:     Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Thu Nov 26 19:49:19 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Nov 27 08:05:58 2020 +0100

    tdf#138507 error in loading form
    
    regression from
        commit 3de38e95561ab7ca114d9f3307702ba89c4e3e9a
        Author: Noel Grandin <noelgrandin at gmail.com>
        Date:   Tue Nov 10 19:20:06 2020 +0200
        use fastparser in forms
    
    Change-Id: I995677d4e381e8229e7f052cf54a134bdf49d378
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106708
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 0b14b3155956..896aaf3cd3cc 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -140,7 +140,7 @@ namespace xmloff
     {
         ENTER_LOG_CONTEXT( "xmloff::OElementImport - importing one element" );
 
-        const OUString sControlImplementation = _rxAttrList->getValue( XML_ELEMENT(FORM, XML_CONTROL_IMPLEMENTATION) );
+        const OUString sControlImplementation = _rxAttrList->getOptionalValue( XML_ELEMENT(FORM, XML_CONTROL_IMPLEMENTATION) );
 
         // retrieve the service name
         if ( !sControlImplementation.isEmpty() )


More information about the Libreoffice-commits mailing list