summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/tbcontrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/tbcontrl.cxx')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 74ae6157d032..7b3b82f63290 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1005,7 +1005,7 @@ void SvxFontNameBox_Impl::Update( const SvxFontItem* pFontItem )
aCurFont.SetPitch ( pFontItem->GetPitch() );
aCurFont.SetCharSet ( pFontItem->GetCharSet() );
}
- OUString aCurName = aCurFont.GetName();
+ OUString aCurName = aCurFont.GetFamilyName();
if ( GetText() != aCurName )
SetText( aCurName );
}
@@ -1144,7 +1144,7 @@ void SvxFontNameBox_Impl::UserDraw( const UserDrawEvent& rUDEvt )
aCurFont.GetItalic() ) );
SvxFontItem aFontItem( aInfo.GetFamily(),
- aInfo.GetName(),
+ aInfo.GetFamilyName(),
aInfo.GetStyleName(),
aInfo.GetPitch(),
aInfo.GetCharSet(),
@@ -1171,7 +1171,7 @@ void SvxFontNameBox_Impl::Select()
aCurFont = aInfo;
pFontItem.reset( new SvxFontItem( aInfo.GetFamily(),
- aInfo.GetName(),
+ aInfo.GetFamilyName(),
aInfo.GetStyleName(),
aInfo.GetPitch(),
aInfo.GetCharSet(),