diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-11-26 19:49:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-27 08:05:58 +0100 |
commit | 3faf503b1a389affcff1bcbd63630963f634e486 (patch) | |
tree | 89fb1b3f21fce1df12190e795396ba0621529f25 /xmloff/source | |
parent | 4713c19e2b79341dc27e66d4c6449497db1e73d8 (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>
Diffstat (limited to 'xmloff/source')
-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() ) |