diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-21 03:30:10 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-21 06:22:01 +0000 |
commit | 5659b68be3acc08a1c70f1be05c99658f2b04e34 (patch) | |
tree | 2ca15cb560de11bd0af456a88e6b3e83589c5abd /editeng/source/items/textitem.cxx | |
parent | abf04f6b0ad0dd83b4d479723144593e2f83ede0 (diff) |
vcl: rename Font::GetFamily to Font::GetFamilyType
Change-Id: Ie427a43bd126dcdd89c6f66582736e67130f2254
Reviewed-on: https://gerrit.libreoffice.org/21633
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'editeng/source/items/textitem.cxx')
-rw-r--r-- | editeng/source/items/textitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 411ecb7a3846..4806948d0615 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -231,7 +231,7 @@ SvxFontItem& SvxFontItem::operator=(const SvxFontItem& rFont) aFamilyName = rFont.GetFamilyName(); aStyleName = rFont.GetStyleName(); eFamily = rFont.GetFamily(); - ePitch = rFont.GetPitch(); + ePitch = rFont.GetPitch(); eTextEncoding = rFont.GetCharSet(); return *this; } @@ -3540,7 +3540,7 @@ void GetDefaultFonts( SvxFontItem& rLatin, SvxFontItem& rAsian, SvxFontItem& rCo aOutTypeArr[ n ].nLanguage, GetDefaultFontFlags::OnlyOne ) ); SvxFontItem* pItem = aItemArr[ n ]; - pItem->SetFamily( aFont.GetFamily() ); + pItem->SetFamily( aFont.GetFamilyType() ); pItem->SetFamilyName( aFont.GetFamilyName() ); pItem->SetStyleName( OUString() ); pItem->SetPitch( aFont.GetPitch()); |