From f99550dae55e40e49bf9c9875053fe2abb4c71ca Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sat, 16 Jan 2016 23:42:55 +1100 Subject: vcl: change Font::SetName() to Font::SetFamilyName() Change-Id: I54a4036544c680c4a49607677af776aa7a433fbc Reviewed-on: https://gerrit.libreoffice.org/21510 Reviewed-by: Chris Sherlock Tested-by: Chris Sherlock --- toolkit/source/helper/vclunohelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 4be231bc3e76..ee802b41d9f3 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -389,7 +389,7 @@ vcl::Font VCLUnoHelper::CreateFont( const css::awt::FontDescriptor& rDescr, cons { vcl::Font aFont( rInitFont ); if ( !rDescr.Name.isEmpty() ) - aFont.SetName( rDescr.Name ); + aFont.SetFamilyName( rDescr.Name ); if ( !rDescr.StyleName.isEmpty() ) aFont.SetStyleName( rDescr.StyleName ); if ( rDescr.Height ) -- cgit v1.2.3