summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi/salvd.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-11-19 10:42:34 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-11-19 12:26:44 +0200
commit7238177ba30d51f68d7f43dc3f87283af17f382b (patch)
treefbcef09d99afefee6b1c400757f732bf047a4200 /vcl/unx/generic/gdi/salvd.cxx
parentf36b2f43208b343189952ca70a922e7759dae3b2 (diff)
Drop ILLEGAL_POINTER sillyness
Change-Id: I19316f0fd04f75d980719676c928c3455e0f07b7
Diffstat (limited to 'vcl/unx/generic/gdi/salvd.cxx')
-rw-r--r--vcl/unx/generic/gdi/salvd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx
index f93f915bfab7..f24104970001 100644
--- a/vcl/unx/generic/gdi/salvd.cxx
+++ b/vcl/unx/generic/gdi/salvd.cxx
@@ -177,7 +177,7 @@ sal_Bool X11SalVirtualDevice::Init( SalDisplay *pDisplay,
X11SalVirtualDevice::X11SalVirtualDevice() :
m_nXScreen( 0 )
{
- pDisplay_ = (SalDisplay*)ILLEGAL_POINTER;
+ pDisplay_ = NULL;
pGraphics_ = NULL;
hDrawable_ = None;
nDX_ = 0;