tdf#145178 Formats in section Foot/Endnotes not read from saved files
commitaa8aab0a753d6ee79cb371b2a4f141070715449a
authorLouis Possoz <louis.possoz@quelfutur.org>
Sat, 30 Apr 2022 05:39:38 +0000 (30 06:39 +0100)
committerMichael Stahl <michael.stahl@allotropia.de>
Sat, 28 May 2022 14:47:38 +0000 (28 16:47 +0200)
treebf6195d2c30d611bb719874e1bf07560d474d70c
parentf3b93f48ee65273cfee63e54f831c199110a20b7
tdf#145178 Formats in section Foot/Endnotes not read from saved files

Imported, 'num-suffix' & 'num-format' properties generate debug warnings:

warn:xmloff:10220:10220:xmloff/source/text/
   XMLSectionFootnoteConfigImport.cxx:123: unknown attribute urn:oasis
   :names:tc:opendocument:xmlns:style:1.0 style:num-suffix value=]]
warn:xmloff:10220:10220:xmloff/source/text/
   XMLSectionFootnoteConfigImport.cxx:123: unknown attribute urn:oasis
   :names:tc:opendocument:xmlns:style:1.0 style:num-format value=One

The faulty code is within XMLSectionFootnoteConfigImport::startFastElement()

The namespace for these two properties must be set to 'STYLE'
   (it is wrongly set to 'TEXT')

Change-Id: I923f12e19ed15779c67b2159d88d80a2ccb04e17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133605
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit bbec710bd25fc5da27636cde73fe4ab23c76904f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135054
Tested-by: Jenkins
xmloff/source/text/XMLSectionFootnoteConfigImport.cxx