summaryrefslogtreecommitdiff
path: root/svx/source/dialog/charmap.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-19 20:26:27 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-19 22:44:14 +0100
commit75103ef0141efe3002e42cd92b05fbff806cf6c4 (patch)
treeb8dd5df380ef282ee1d6153e1ebcb1b095fa7746 /svx/source/dialog/charmap.cxx
parent56e39524e5f65a5d34082f2335066dea0cf416bc (diff)
make sure the variables are set up
Change-Id: Ib710f1ee291fb15ad7b05a5d36824a129d407ccc
Diffstat (limited to 'svx/source/dialog/charmap.cxx')
-rw-r--r--svx/source/dialog/charmap.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx
index ff201a6b2ecc..ff89241e814b 100644
--- a/svx/source/dialog/charmap.cxx
+++ b/svx/source/dialog/charmap.cxx
@@ -577,6 +577,9 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus )
if( !aVscrollSB )
return;
+ if ( !mxFontCharMap.Is() )
+ RecalculateFont( *this );
+
if( nNewIndex < 0 )
{
// need to scroll see closest unicode