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 /cui/source/dialogs/cuicharmap.cxx | |
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 'cui/source/dialogs/cuicharmap.cxx')
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index 13d3c8e7658b..5042a2079210 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -209,7 +209,8 @@ void SvxCharacterMap::SetChar( sal_UCS4 c ) sal_UCS4 SvxCharacterMap::GetChar() const { - return m_aShowChar.GetText().toChar(); + sal_Int32 nIndexUtf16 = 0; + return m_aShowChar.GetText().iterateCodePoints(&nIndexUtf16); } void SvxCharacterMap::DisableFontSelection() |