summaryrefslogtreecommitdiff
path: root/vcl/unx/kde/salnativewidgets-kde.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/kde/salnativewidgets-kde.cxx')
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 816292668aa6..c4e16c3c8a89 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -272,7 +272,7 @@ class WidgetPainter
*/
bool drawStyledWidget( QWidget *pWidget,
ControlState nState, const ImplControlValue& aValue,
- Display *dpy, XLIB_Window drawable, SalX11Screen nXScreen,
+ Display *dpy, ::Window drawable, SalX11Screen nXScreen,
int nDepth, GC gc,
ControlPart nPart = PART_ENTIRE_CONTROL );
@@ -465,7 +465,7 @@ WidgetPainter::~WidgetPainter( void )
bool WidgetPainter::drawStyledWidget( QWidget *pWidget,
ControlState nState, const ImplControlValue& aValue,
- Display *dpy, XLIB_Window drawable, SalX11Screen nXScreen,
+ Display *dpy, ::Window drawable, SalX11Screen nXScreen,
int nDepth, GC gc, ControlPart nPart )
{
if ( !pWidget )
@@ -1383,7 +1383,7 @@ bool KDESalGraphics::drawNativeControl( ControlType nType, ControlPart nPart,
bool bReturn = false;
Display *dpy = GetXDisplay();
- XLIB_Window drawable = GetDrawable();
+ ::Window drawable = GetDrawable();
GC gc = SelectPen(); //SelectFont(); // GC with current clipping region set
if ( (nType == CTRL_PUSHBUTTON) && (nPart == PART_ENTIRE_CONTROL) )