[Libreoffice-commits] core.git: vcl/unx

Tor Lillqvist tml at collabora.com
Thu Sep 18 01:30:44 PDT 2014


 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b5297255bd9830c04dc7b7e3d47660809992aec6
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Sep 18 11:30:04 2014 +0300

    Use vcl::Font
    
    Change-Id: I8efc1570c63e7de8699222497ec3e8172329319e

diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index 2a1f4e7..66d0ddd 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -1334,7 +1334,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
     else*/
         nPointHeight = nPangoHeight/PANGO_SCALE;
 
-    Font aFont( aInfo.m_aFamilyName, Size( 0, nPointHeight ) );
+    vcl::Font aFont( aInfo.m_aFamilyName, Size( 0, nPointHeight ) );
     if( aInfo.m_eWeight != WEIGHT_DONTKNOW )
         aFont.SetWeight( aInfo.m_eWeight );
     if( aInfo.m_eWidth != WIDTH_DONTKNOW )


More information about the Libreoffice-commits mailing list