diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-25 19:57:26 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-25 19:59:30 +0900 |
commit | 78e4b913d1bdcef83f66249fb5006803f28f96d1 (patch) | |
tree | 82efd126889e1e012109514cbf486bd946a7e959 /svx/source | |
parent | 896cd639125e00967640daea4f716786829e0b87 (diff) |
tdf#91582 initialize charmap when selecting in SvxShowCharSet
Change-Id: I3f73eef349e65a1d2d283d1116729694c1f40ed9
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/charmap.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index 104161dfd84d..c334d3f577fe 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -647,6 +647,9 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) void SvxShowCharSet::SelectCharacter( sal_UCS4 cNew, bool bFocus ) { + if (mpFontCharMap == nullptr) + RecalculateFont(*this); + // get next available char of current font sal_UCS4 cNext = mpFontCharMap->GetNextChar( (cNew > 0) ? cNew - 1 : cNew ); |