From cb20f46895f0ec759f2bea95e499c6902deb60ca Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 18 Jan 2016 10:40:22 +1100 Subject: vcl: change Font::SetName() to Font::SetFamilyName() Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5 Reviewed-on: https://gerrit.libreoffice.org/21560 Tested-by: Jenkins Reviewed-by: Chris Sherlock --- forms/source/richtext/richtextengine.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'forms') 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 -- cgit