diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-21 20:44:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-22 12:52:28 +0200 |
commit | be8a33c0f03b83357d2ae37dda6bf65313267cea (patch) | |
tree | 83aa385e23e1f4deda8858c68d59d61c2a6342cc /editeng | |
parent | 17ca11125f1639d87d31237af822767dd38d31e7 (diff) |
tdf#132970 SMP bullets mangled
working:
a) bullet preview
b) writer rendering
c) save to odt
a) load from odt
Change-Id: I2f85576389fe4f0437f81799c14dfd98c8c40b2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103129
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 27d86600aa3d..ca97d103c012 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -1839,7 +1839,8 @@ void Outliner::ImplCalcBulletText( sal_Int32 nPara, bool bRecalcLevel, bool bRec aBulletText += pFmt->GetPrefix(); if( pFmt->GetNumberingType() == SVX_NUM_CHAR_SPECIAL ) { - aBulletText += OUStringChar(pFmt->GetBulletChar()); + sal_UCS4 cChar = pFmt->GetBulletChar(); + aBulletText += OUString(&cChar, 1); } else if( pFmt->GetNumberingType() != SVX_NUM_NUMBER_NONE ) { |