summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 10:08:17 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 10:13:13 +0100
commit62ddb5bb8c87b69a578c838ac33325ab8e7007d5 (patch)
tree69f43955cba4f085ffc61759bdfa3875e93d518f /vcl/unx
parenta49095dfcde9f1a3d1c04b4cdc3a50f5fc261f3d (diff)
quick build fix until I can fix that properly
Change-Id: I174553768fa12d7b05367498e3755b8e94dfeb47
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 47320b977ef5..4c48b88f220e 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) )
{