[Libreoffice-commits] .: vcl/unx

Michael Meeks michael at kemper.freedesktop.org
Fri Nov 4 02:45:03 PDT 2011


 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 62b44c34825fc928867192f407d1d24bd5bcabca
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Fri Nov 4 09:45:17 2011 +0000

    gtk3: add missing include, and rtl namespace

diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index eb76ea7..d4bd688 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -33,6 +33,7 @@
 #include <unx/gtk/gtkdata.hxx>
 #include <unx/gtk/gtkinst.hxx>
 #include <unx/gtk/gtkgdi.hxx>
+#include <vcl/fontmanager.hxx>
 
 GtkStyleContext* GtkSalGraphics::mpButtonStyle = NULL;
 GtkStyleContext* GtkSalGraphics::mpEntryStyle = NULL;
@@ -1306,8 +1307,8 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
     // match font to e.g. resolve "Sans"
     psp::PrintFontManager::get().matchFont( aInfo, rSettings.GetUILocale() );
     std::fprintf( stderr, "font match %s, name AFTER: \"%s\"\n",
-             aInfo.m_nID != 0 ? "succeeded" : "failed",
-             OUStringToOString( aInfo.m_aStyleName, RTL_TEXTENCODING_ISO_8859_1 ).getStr() );
+                  aInfo.m_nID != 0 ? "succeeded" : "failed",
+                  rtl::OUStringToOString( aInfo.m_aStyleName, RTL_TEXTENCODING_ISO_8859_1 ).getStr() );
 
     int nPointHeight = 0;
     /*sal_Int32 nDispDPIY = GetDisplay()->GetResolution().B();


More information about the Libreoffice-commits mailing list