diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-18 10:40:22 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-18 05:24:46 +0000 |
commit | cb20f46895f0ec759f2bea95e499c6902deb60ca (patch) | |
tree | e7790f7df9436a29ba8309d0ad99d518fb34d9ad /starmath/source/cfgitem.cxx | |
parent | 3b14cdf7386f41395d1b089c3b9dde7d4429cf38 (diff) |
vcl: change Font::SetName() to Font::SetFamilyName()
Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5
Reviewed-on: https://gerrit.libreoffice.org/21560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'starmath/source/cfgitem.cxx')
-rw-r--r-- | starmath/source/cfgitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 1e1f9f9dc176..24f626d3fd48 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -172,7 +172,7 @@ SmFontFormat::SmFontFormat( const vcl::Font &rFont ) const vcl::Font SmFontFormat::GetFont() const { vcl::Font aRes; - aRes.SetName( aName ); + aRes.SetFamilyName( aName ); aRes.SetCharSet( (rtl_TextEncoding) nCharSet ); aRes.SetFamily( (FontFamily) nFamily ); aRes.SetPitch( (FontPitch) nPitch ); @@ -881,7 +881,7 @@ void SmMathConfig::LoadFormat() if (bUseDefaultFont) { aFnt = pFormat->GetFont( i ); - aFnt.SetName( GetDefaultFontName( nLang, i ) ); + aFnt.SetFamilyName( GetDefaultFontName( nLang, i ) ); } else { |