diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-04 04:25:16 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-04 05:16:08 +1100 |
commit | 7eab7f3485e525635f06a505776618c30e442a26 (patch) | |
tree | b02a328084b90e43306589ccf73dddbb757277be /starmath/source | |
parent | 6aa4496c789fec271dcdc7995cf62ef2dabf1f96 (diff) |
Cleanup after removing vcl::FontInfo class
Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/dialog.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 8f5d53d49165..0a4ebfbba4ab 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -2327,13 +2327,13 @@ bool SmSymDefineDialog::SelectSymbol(ComboBox &rComboBox, void SmSymDefineDialog::SetFont(const OUString &rFontName, const OUString &rStyleName) { // get Font (FontInfo) matching name and style - FontMetric aFI; + FontMetric aFontMetric; if (pFontList) - aFI = pFontList->Get(rFontName, WEIGHT_NORMAL, ITALIC_NONE); - SetFontStyle(rStyleName, aFI); + aFontMetric = pFontList->Get(rFontName, WEIGHT_NORMAL, ITALIC_NONE); + SetFontStyle(rStyleName, aFontMetric); - pCharsetDisplay->SetFont(aFI); - pSymbolDisplay->SetFont(aFI); + pCharsetDisplay->SetFont(aFontMetric); + pSymbolDisplay->SetFont(aFontMetric); // update subset listbox for new font's unicode subsets FontCharMapPtr pFontCharMap; |