From 7eab7f3485e525635f06a505776618c30e442a26 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 4 Jan 2016 04:25:16 +1100 Subject: Cleanup after removing vcl::FontInfo class Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b --- cui/source/options/fontsubs.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cui/source/options') diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index 4f7893d12ba1..362cdd12b87c 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -359,9 +359,9 @@ IMPL_LINK_TYPED(SvxFontSubstTabPage, NonPropFontsHdl, Button*, pBox, void) sal_uInt16 nFontCount = aFntLst.GetFontNameCount(); for(sal_uInt16 nFont = 0; nFont < nFontCount; nFont++) { - const FontMetric& rInfo = aFntLst.GetFontName( nFont ); - if(!bNonPropOnly || rInfo.GetPitch() == PITCH_FIXED) - m_pFontNameLB->InsertEntry(rInfo.GetName()); + const FontMetric& rFontMetric = aFntLst.GetFontName( nFont ); + if(!bNonPropOnly || rFontMetric.GetPitch() == PITCH_FIXED) + m_pFontNameLB->InsertEntry(rFontMetric.GetName()); } m_pFontNameLB->SelectEntry(sFontName); } -- cgit