diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-19 20:26:27 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-19 22:44:14 +0100 |
commit | 75103ef0141efe3002e42cd92b05fbff806cf6c4 (patch) | |
tree | b8dd5df380ef282ee1d6153e1ebcb1b095fa7746 /svx | |
parent | 56e39524e5f65a5d34082f2335066dea0cf416bc (diff) |
make sure the variables are set up
Change-Id: Ib710f1ee291fb15ad7b05a5d36824a129d407ccc
Diffstat (limited to 'svx')
-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 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 |