summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-16 16:04:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-16 18:22:39 +0200
commitcf6c748f30fd630b6b7256e0c7ba1783892f9d1e (patch)
tree3ea53faf3695f76c755242b955e43eef756a43d7 /starmath
parent66537c7cecbfe92b3b50cff4c0cac051d8d4272f (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.cxx3
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();