gtk3: add missing include, and rtl namespace

This commit is contained in:
Michael Meeks
2011-11-04 09:45:17 +00:00
parent edf50b4d4f
commit 62b44c3482

View File

@@ -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();