summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-19 12:39:56 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-19 12:41:51 +0100
commitfe71e7bd0c7630b6452e418df14d780dd87ba946 (patch)
treec5f5854c02701a85eb997c0e2579dfb50d7999d4 /vcl/unx
parentad913681c0e0cdaaa706329f518f59ee54b86d43 (diff)
SalColormap: -Werror=conversion-null
That is actually XID, not a pointer. Change-Id: I9fa807fc4f33c07b2b4ebbb5e1b7163eb53411c3
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index b01035971d8b..3310e6da6f5d 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -2687,7 +2687,7 @@ SalColormap::SalColormap( sal_uInt16 nDepth )
SalColormap::~SalColormap()
{
#ifdef DBG_UTIL
- m_hColormap = NULL;
+ m_hColormap = None;
m_pDisplay = NULL;
#endif
}