diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-16 16:04:11 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-07-17 11:01:57 +0200 |
commit | a09d357daf65e285323ff77653a6de3058fc44da (patch) | |
tree | 15ab51ffbbfc5a49add169ab2f1eab16e63e56cb /starmath | |
parent | 62aae6918e33a2535462d1e7be2278a7f9745009 (diff) |
tdf#118681 make sure we're using the right font char map
Change-Id: I64265dac5d0d18b092d64ef656997d7177a425a4
Reviewed-on: https://gerrit.libreoffice.org/57505
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/dialog.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index ac7269345c0c..1dabf0abd0b3 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1987,8 +1987,7 @@ void SmSymDefineDialog::SetFont(const OUString &rFontName, const OUString &rStyl m_aSymbolDisplay.SetFont(aFontMetric); // update subset listbox for new font's unicode subsets - FontCharMapRef xFontCharMap; - m_xCharsetDisplay->GetFontCharMap( xFontCharMap ); + FontCharMapRef xFontCharMap = m_xCharsetDisplay->GetFontCharMap(); m_xSubsetMap.reset(new SubsetMap( xFontCharMap )); m_xFontsSubsetLB->clear(); |