tdf#120394: doc import: use list format string
commit7e605bc3ff0cfea76be4683f0170d821fcae7203
authorVasily Melenchuk <vasily.melenchuk@cib.de>
Tue, 19 May 2020 07:24:35 +0000 (19 10:24 +0300)
committerThorsten Behrens <Thorsten.Behrens@CIB.de>
Wed, 17 Jun 2020 09:19:35 +0000 (17 11:19 +0200)
tree2750d6daee2d016aaad49361dd700e9ad2751152
parente52263a8d3e61eae82b6345010162427fc5ed7ad
tdf#120394: doc import: use list format string

Since introducion of list level format string there is
no need in complex parsing of doc level string and convering
it to prefix-number-suffix format. We can just replace there
special chars by %n placeholders (used in docx and now in LO)
and this should be enough.

Change-Id: I4e947939c4d4f393ee7e16c851cf22567d352ac3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94475
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
sw/qa/extras/ww8export/data/tdf120394.doc [new file with mode: 0644]
sw/qa/extras/ww8export/ww8export3.cxx
sw/source/filter/ww8/ww8par.hxx
sw/source/filter/ww8/ww8par3.cxx