tdf#120394: DOCX list import: simplify zero width space hack
commit8401181bf0232959efb516802abcda42377ea06e
authorVasily Melenchuk <vasily.melenchuk@cib.de>
Sun, 17 May 2020 10:35:46 +0000 (17 13:35 +0300)
committerThorsten Behrens <Thorsten.Behrens@CIB.de>
Mon, 1 Jun 2020 16:20:24 +0000 (1 18:20 +0200)
tree6033a7f0af44cf94298ea4d9c752e4af0ecc4c8c
parentb44c8898fc13941f63066a5817ba5fe8f71fbdbf
tdf#120394: DOCX list import: simplify zero width space hack

Since introducion of list format string hack with creation
of zero-width-space can be much more simple. It was being
used to indicate existing, but empty list label suffix to
avoid stripping down numbering.

Change-Id: I9a0c6047f806b2c656ef5dbab0c6b38200818bd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94383
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
sw/qa/extras/ooxmlexport/data/tdf120394.docx [new file with mode: 0644]
sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
sw/qa/extras/rtfimport/rtfimport.cxx
sw/source/core/doc/number.cxx
sw/source/filter/ww8/wrtw8num.cxx
writerfilter/source/dmapper/NumberingManager.cxx