diff options
author | os <os@openoffice.org> | 2011-02-18 10:06:26 +0100 |
---|---|---|
committer | os <os@openoffice.org> | 2011-02-18 10:06:26 +0100 |
commit | e8a5c93d2367773a4d26c1d05c9bb84cfb6b2778 (patch) | |
tree | f6fb4a3bf80275f12fce4493dc629a7f69188722 /sw/source/ui/lingu | |
parent | 79502243dda95bce5731b5f1a5a685277fc593d2 (diff) |
os150: SvxFontItem member access changed to Set<member>-methods
Diffstat (limited to 'sw/source/ui/lingu')
-rwxr-xr-x[-rw-r--r--] | sw/source/ui/lingu/hhcwrp.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx index 98280db3f63e..ae84d4b1872f 100644..100755 --- a/sw/source/ui/lingu/hhcwrp.cxx +++ b/sw/source/ui/lingu/hhcwrp.cxx @@ -560,11 +560,11 @@ void SwHHCWrapper::ReplaceUnit( if (pTargetFont && pNewUnitLanguage) { SvxFontItem aFontItem = (SvxFontItem&) aSet.Get( RES_CHRATR_CJK_FONT ); - aFontItem.GetFamilyName() = pTargetFont->GetName(); - aFontItem.GetFamily() = pTargetFont->GetFamily(); - aFontItem.GetStyleName() = pTargetFont->GetStyleName(); - aFontItem.GetPitch() = pTargetFont->GetPitch(); - aFontItem.GetCharSet() = pTargetFont->GetCharSet(); + aFontItem.SetFamilyName( pTargetFont->GetName()); + aFontItem.SetFamily( pTargetFont->GetFamily()); + aFontItem.SetStyleName( pTargetFont->GetStyleName()); + aFontItem.SetPitch( pTargetFont->GetPitch()); + aFontItem.SetCharSet( pTargetFont->GetCharSet() ); aSet.Put( aFontItem ); } |