summaryrefslogtreecommitdiff
path: root/vcl/source/window/syswin.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-02-26 16:50:17 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 22:23:28 +0100
commitabc903a5be857150b144f1439448d4f02edb0531 (patch)
treeb45db7eb940aeff03408b1d3f60f7690962347d4 /vcl/source/window/syswin.cxx
parentf0969f0de927e4f63ef4e111a1ffaa841f2a81ea (diff)
vcl: more double dispose protection.
Change-Id: Ib5c4ca5747cd55d7ea0f8c59b5aaa1f84c2a8fdc
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r--vcl/source/window/syswin.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 02f2417bbcc8..19768d771769 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -185,6 +185,8 @@ bool SystemWindow::PreNotify( NotifyEvent& rNEvt )
TaskPaneList* SystemWindow::GetTaskPaneList()
{
+ if( !mpImplData )
+ return NULL;
if( mpImplData->mpTaskPaneList )
return mpImplData->mpTaskPaneList ;
else