summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-01 21:55:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-02 10:05:29 +0100
commit0c765dedffa2c0ee9e6daeb54d8d477b71a56e61 (patch)
treed105ef19627385cdbd7e43d3194a636e5b22ed25 /vcl/unx
parentd6a3212e727f4732cda29c646e7fca51e84e78b3 (diff)
Better types for SystemGraphicsData::hDrawable, cairo::X11SysData::hDrawable
Both apparently only hold X11 Drawable values. But include/vcl/sysdata.hxx does not include the X11 include files that would define Drawable, so use sal_uIntPtr there, which is also used for other similar SystemEnvData and SystemParentData aWindow members there. Change-Id: Ia136ad1937e2009eb409c3ef8cc41dc81bd338a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105156 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/gdi/cairo_xlib_cairo.hxx2
1 files changed, 1 insertions, 1 deletions
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