diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-16 16:04:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-07-16 18:22:39 +0200 |
commit | cf6c748f30fd630b6b7256e0c7ba1783892f9d1e (patch) | |
tree | 3ea53faf3695f76c755242b955e43eef756a43d7 /starmath | |
parent | 66537c7cecbfe92b3b50cff4c0cac051d8d4272f (diff) |
tdf#118681 make sure we're using the right font char map
Change-Id: I64265dac5d0d18b092d64ef656997d7177a425a4
Reviewed-on: https://gerrit.libreoffice.org/57504
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@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(); |