diff options
-rw-r--r-- | include/vcl/sysdata.hxx | 3 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/cairo_xlib_cairo.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx index a792296581e9..3abf92b55640 100644 --- a/include/vcl/sysdata.hxx +++ b/include/vcl/sysdata.hxx @@ -21,7 +21,6 @@ #define INCLUDED_VCL_SYSDATA_HXX #include <sal/types.h> -#include <tools/long.hxx> #ifdef MACOSX // predeclare the native classes to avoid header/include problems @@ -138,7 +137,7 @@ struct SystemGraphicsData CGContextRef rCGContext; // CoreGraphics graphic context #elif defined( UNX ) void* pDisplay; // the relevant display connection - tools::Long hDrawable; // a drawable + sal_uIntPtr hDrawable; // a drawable void* pVisual; // the visual in use int nScreen; // the current screen of the drawable void* pXRenderFormat; // render format for drawable diff --git a/vcl/unx/generic/gdi/cairo_xlib_cairo.hxx b/vcl/unx/generic/gdi/cairo_xlib_cairo.hxx index d578d7b14852..398522c1594d 100644 --- a/vcl/unx/generic/gdi/cairo_xlib_cairo.hxx +++ b/vcl/unx/generic/gdi/cairo_xlib_cairo.hxx @@ -38,7 +38,7 @@ namespace cairo { explicit X11SysData( const SystemEnvData& ); void* pDisplay; // the relevant display connection - tools::Long hDrawable; // a drawable + Drawable hDrawable; // a drawable void* pVisual; // the visual in use int nScreen; // the current screen of the drawable void* pRenderFormat; // render format for drawable |