Kaydet (Commit) 852a59c2 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

CWS-TOOLING: integrate CWS os150

...@@ -203,11 +203,11 @@ void FuHangulHanjaConversion::ConvertStyles( sal_Int16 nTargetLanguage, const Fo ...@@ -203,11 +203,11 @@ void FuHangulHanjaConversion::ConvertStyles( sal_Int16 nTargetLanguage, const Fo
{ {
// set new font attribute // set new font attribute
SvxFontItem aFontItem( (SvxFontItem&) rSet.Get( EE_CHAR_FONTINFO_CJK ) ); SvxFontItem aFontItem( (SvxFontItem&) rSet.Get( EE_CHAR_FONTINFO_CJK ) );
aFontItem.GetFamilyName() = pTargetFont->GetName(); aFontItem.SetFamilyName( pTargetFont->GetName());
aFontItem.GetFamily() = pTargetFont->GetFamily(); aFontItem.SetFamily( pTargetFont->GetFamily());
aFontItem.GetStyleName() = pTargetFont->GetStyleName(); aFontItem.SetStyleName( pTargetFont->GetStyleName());
aFontItem.GetPitch() = pTargetFont->GetPitch(); aFontItem.SetPitch( pTargetFont->GetPitch());
aFontItem.GetCharSet() = pTargetFont->GetCharSet(); aFontItem.SetCharSet( pTargetFont->GetCharSet());
rSet.Put( aFontItem ); rSet.Put( aFontItem );
} }
......
...@@ -498,7 +498,7 @@ void PresenterTextView::Implementation::SetFontDescriptor ( ...@@ -498,7 +498,7 @@ void PresenterTextView::Implementation::SetFontDescriptor (
mpEditEngineItemPool->SetPoolDefaultItem( aFontHeight); mpEditEngineItemPool->SetPoolDefaultItem( aFontHeight);
SvxFontItem aSvxFontItem (EE_CHAR_FONTINFO); SvxFontItem aSvxFontItem (EE_CHAR_FONTINFO);
aSvxFontItem.GetFamilyName() = rFontDescriptor.Name; aSvxFontItem.SetFamilyName( rFontDescriptor.Name );
mpEditEngineItemPool->SetPoolDefaultItem(aSvxFontItem); mpEditEngineItemPool->SetPoolDefaultItem(aSvxFontItem);
mnTotalHeight = -1; mnTotalHeight = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment