diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/txtfld.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sw/source/core/text/txtfld.cxx b/sw/source/core/text/txtfld.cxx index ed52fbca1707..6e0e6f33decb 100644 --- a/sw/source/core/text/txtfld.cxx +++ b/sw/source/core/text/txtfld.cxx @@ -649,11 +649,14 @@ SwNumberPortion *SwTextFormatter::NewNumberPortion( SwTextFormatInfo &rInf ) con lcl_setRedlineAttr( rInf, *pTextNd, pNumFnt ); // --> OD 2008-01-23 #newlistelevelattrs# - pRet = new SwBulletPortion( rNumFormat.GetBulletChar(), - pTextNd->GetLabelFollowedBy(), - std::move(pNumFnt), - bLeft, bCenter, nMinDist, - bLabelAlignmentPosAndSpaceModeActive ); + if (rNumFormat.GetBulletChar()) + { + pRet = new SwBulletPortion(rNumFormat.GetBulletChar(), + pTextNd->GetLabelFollowedBy(), + std::move(pNumFnt), + bLeft, bCenter, nMinDist, + bLabelAlignmentPosAndSpaceModeActive); + } } else { |