From 3aef606f2758172a27718a06fea0ff9080e4d80f Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 19 Oct 2020 15:12:38 +0200 Subject: use tools::Long in vcl Change-Id: Ice1055021e8568634e9a66ba89d3bb4ef4e731df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104522 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/sysdata.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/vcl/sysdata.hxx') diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx index c4fae1adb8bc..14685c3b9d61 100644 --- a/include/vcl/sysdata.hxx +++ b/include/vcl/sysdata.hxx @@ -21,6 +21,7 @@ #define INCLUDED_VCL_SYSDATA_HXX #include +#include #ifdef MACOSX // predeclare the native classes to avoid header/include problems @@ -108,7 +109,7 @@ struct SystemParentData #elif defined( IOS ) // Nothing #elif defined( UNX ) - long aWindow; // the window of the object + tools::Long aWindow; // the window of the object bool bXEmbedSupport:1; // decides whether the object in question // should support the XEmbed protocol #endif @@ -137,7 +138,7 @@ struct SystemGraphicsData CGContextRef rCGContext; // CoreGraphics graphic context #elif defined( UNX ) void* pDisplay; // the relevant display connection - long hDrawable; // a drawable + tools::Long hDrawable; // a drawable void* pVisual; // the visual in use int nScreen; // the current screen of the drawable void* pXRenderFormat; // render format for drawable -- cgit