summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-23 13:13:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-23 13:13:39 +0100
commit3b513aefa49ecc98800ff129360f04bda8405a11 (patch)
treeefc65118346e43140713020cb052e4d7e5fd1a7b /include
parentdaa20dcadfcfc7a8d16cddc7f5a08bf3e0a5c644 (diff)
tdf#86543: reinterpret_cast -1 of appropriate width as special marker
Change-Id: Idf0d2a77a78e0e8fcbf435984b9b8f4393e4c207
Diffstat (limited to 'include')
-rw-r--r--include/vcl/dialog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 0b00ebeccdda..0568642572a3 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -27,7 +27,7 @@
// parameter to pass to the dialog constructor if really no parent is wanted
// whereas NULL chooses the default dialog parent
-#define DIALOG_NO_PARENT (reinterpret_cast<vcl::Window*>(0xffffffff))
+#define DIALOG_NO_PARENT (reinterpret_cast<vcl::Window*>(sal_IntPtr(-1)))
// - Dialog -