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

Markus Mohrhard markus.mohrhard at collabora.co.uk
Mon Nov 10 01:13:56 PST 2014


 vcl/unx/kde/salnativewidgets-kde.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 62ddb5bb8c87b69a578c838ac33325ab8e7007d5
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Mon Nov 10 10:08:17 2014 +0100

    quick build fix until I can fix that properly
    
    Change-Id: I174553768fa12d7b05367498e3755b8e94dfeb47

diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 47320b9..4c48b88 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -1383,7 +1383,8 @@ bool KDESalGraphics::drawNativeControl( ControlType nType, ControlPart nPart,
 
     Display *dpy = GetXDisplay();
     ::Window drawable = GetDrawable();
-    GC gc = SelectPen(); //SelectFont(); // GC with current clipping region set
+    // TODO: moggi: FIX that properly!! It was SelectPen()
+    GC gc = GetFontGC(); //SelectFont(); // GC with current clipping region set
 
     if ( (nType == CTRL_PUSHBUTTON) && (nPart == PART_ENTIRE_CONTROL) )
     {


More information about the Libreoffice-commits mailing list