From cf6c748f30fd630b6b7256e0c7ba1783892f9d1e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 16 Jul 2018 16:04:11 +0100 Subject: tdf#118681 make sure we're using the right font char map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I64265dac5d0d18b092d64ef656997d7177a425a4 Reviewed-on: https://gerrit.libreoffice.org/57504 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- starmath/source/dialog.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'starmath') 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(); -- cgit