sw/source/filter/ww8/wrtw8num.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8d7d944e48dba061e7d57be16f5ae139a826c97e Author: Caolán McNamara <[email protected]> AuthorDate: Sun Nov 7 15:49:14 2021 +0000 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Nov 8 13:38:22 2021 +0100 crashtesting: assert on re-exporting ooo25141-1.doc to doc since... commit e0b41fcb56e51f20684da4ba44d7ed6e0e1a3234 Date: Thu Oct 28 13:36:50 2021 +0300 tdf#144668: docx export: simpler way to create lvlText in numberings Change-Id: I40b3cdf5e15d3a4dacc50bd46a5bbca84e6fac03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124822 Tested-by: Jenkins Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> (cherry picked from commit efd2510e225232ac35707a3ed55b83be9fa046af) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124706 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sw/source/filter/ww8/wrtw8num.cxx b/sw/source/filter/ww8/wrtw8num.cxx index 19a21f268034..3593c417657c 100644 --- a/sw/source/filter/ww8/wrtw8num.cxx +++ b/sw/source/filter/ww8/wrtw8num.cxx @@ -496,7 +496,8 @@ void MSWordExportBase::NumberingLevel( else { // Create level string - if (SVX_NUM_NUMBER_NONE != rFormat.GetNumberingType()) + if (SVX_NUM_NUMBER_NONE != rFormat.GetNumberingType() && + rFormat.HasListFormat()) { sal_uInt8* pLvlPos = aNumLvlPos; sNumStr = rFormat.GetListFormat();
