summaryrefslogtreecommitdiff
path: root/cui/source/options/fontsubs.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-17 13:26:25 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-17 23:35:37 +0000
commit28c96fc2553a5c3dee108f1e2060d7bc081a7e7e (patch)
tree6e9bf6447200c5cfbff1d561ba3b8581479c7b72 /cui/source/options/fontsubs.cxx
parent69882b0ef861099fd6bfa802d6f7ba5d1391c269 (diff)
vcl: rename Font::GetName to Font::GetFamilyName
Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f Reviewed-on: https://gerrit.libreoffice.org/21529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r--cui/source/options/fontsubs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 362cdd12b87c..3625d82722d5 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -361,7 +361,7 @@ IMPL_LINK_TYPED(SvxFontSubstTabPage, NonPropFontsHdl, Button*, pBox, void)
{
const FontMetric& rFontMetric = aFntLst.GetFontName( nFont );
if(!bNonPropOnly || rFontMetric.GetPitch() == PITCH_FIXED)
- m_pFontNameLB->InsertEntry(rFontMetric.GetName());
+ m_pFontNameLB->InsertEntry(rFontMetric.GetFamilyName());
}
m_pFontNameLB->SelectEntry(sFontName);
}