forked from amazingfate/loongoffice
The previous LO 6.1 version of this patch was fine in practice, but in theory the special "Outline" numbering style COULD be applied directly to a paragraph - especially during import since "Chapter Numbering" is a LO invention, not a DOCX spec. So, ensure that both the listLevel and the numId match what is inherited from the style before deciding that writing out the numbering is not needed. This patch will be needed for tdf#141966. Change-Id: I9ec4477ed18f84c22a0b5941d0d218186ab6875b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115612 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>