diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-16 23:42:55 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-16 16:12:14 +0000 |
commit | f99550dae55e40e49bf9c9875053fe2abb4c71ca (patch) | |
tree | a84bceecc809a336a81305a85edad78a4a8449c5 /forms | |
parent | 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 (diff) |
vcl: change Font::SetName() to Font::SetFamilyName()
Change-Id: I54a4036544c680c4a49607677af776aa7a433fbc
Reviewed-on: https://gerrit.libreoffice.org/21510
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextengine.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx index 8043d0079536..f0d10d11ac6d 100644 --- a/forms/source/richtext/richtextengine.cxx +++ b/forms/source/richtext/richtextengine.cxx @@ -39,9 +39,6 @@ namespace frm { - - - //= RichTextEngine @@ -62,7 +59,7 @@ namespace frm // defaults vcl::Font aFont = Application::GetSettings().GetStyleSettings().GetAppFont(); - aFont.SetName( "Times New Roman" ); + aFont.SetFamilyName( "Times New Roman" ); pPool->SetPoolDefaultItem( SvxFontItem( aFont.GetFamily(), aFont.GetFamilyName(), OUString(), aFont.GetPitch(), aFont.GetCharSet(), EE_CHAR_FONTINFO ) ); // 12 pt font size |