tdf#144609: numbering "None" should still show prefix/suffix
commit66a7f8a49d2db1829dd533f32ae5818499f8544b
authorVasily Melenchuk <vasily.melenchuk@cib.de>
Sat, 25 Sep 2021 16:06:11 +0000 (25 19:06 +0300)
committerVasily Melenchuk <vasily.melenchuk@cib.de>
Mon, 4 Oct 2021 13:29:07 +0000 (4 15:29 +0200)
tree8d811e40fc4e9a90c187ea2df55d3017819b658c
parent1ecc5d98aefbf1779d157aee80308d26ff28458a
tdf#144609: numbering "None" should still show prefix/suffix

Unlike it was implemented in tdf#143605, prefix and suffix
should be displayed anyway, we do not display only numbers.

Moreover tdf#143605 did accidentally fix tdf#135164
in a invalid way. So this patch is also providing a better
fix for it: untittest is already created and failing without it.

Problem in tdf#135164 is inability to distingush missing level
text (bullet char in given case) and empty ("") one. In first
case we should use abstract level definition. In second - not.

Change-Id: Ica3a714d22de4d2f14ebbcb12f0e1311dbc9b801
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122609
Tested-by: Jenkins
Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
sw/qa/extras/odfexport/odfexport2.cxx
sw/source/core/doc/number.cxx
writerfilter/source/dmapper/NumberingManager.cxx
writerfilter/source/dmapper/NumberingManager.hxx