diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-11-26 19:49:19 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-11-27 11:55:48 +0100 |
commit | 274cb276b2542b782988b1ced7347f2e8ce76c26 (patch) | |
tree | c81994236e65c0080c72d47bea155c7e72ba7b81 /xmloff | |
parent | bbb5b5ea98a8f77c3dc501d4f7e497bd3a9fbd3c (diff) |
tdf#138507 error in loading form
regression from
commit 3de38e95561ab7ca114d9f3307702ba89c4e3e9a
Author: Noel Grandin <noelgrandin@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@collabora.co.uk>
(cherry picked from commit 3faf503b1a389affcff1bcbd63630963f634e486)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106734
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |