summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/swfont.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/swfont.hxx')
-rw-r--r--sw/source/core/inc/swfont.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index 60c2eed78c76..3f52b090a5fe 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -287,7 +287,7 @@ public:
sal_uInt16 GetOrientation( const bool bVertLayout = false ) const;
inline const OUString& GetName( const sal_uInt8 nWhich ) const
- { return m_aSub[nWhich].GetName(); }
+ { return m_aSub[nWhich].GetFamilyName(); }
inline LanguageType GetLanguage( const sal_uInt8 nWhich ) const
{ return m_aSub[nWhich].GetLanguage(); }
inline rtl_TextEncoding GetCharSet( const sal_uInt8 nWhich ) const