Kaydet (Commit) 78e4b913 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

tdf#91582 initialize charmap when selecting in SvxShowCharSet

Change-Id: I3f73eef349e65a1d2d283d1116729694c1f40ed9
üst 896cd639
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment