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 20:07:27 +0900 |
commit | 5d08e3736e94bf916c12c2eb3e17602a693c4c97 (patch) | |
tree | bb72584299a8fe2b0f629970a1ef4c0bda53f22f | |
parent | 5397a8ad5306a670355824f703da702f7401524a (diff) |
tdf#91582 initialize charmap when selecting in SvxShowCharSet
Change-Id: I3f73eef349e65a1d2d283d1116729694c1f40ed9
-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 ); |