summaryrefslogtreecommitdiff
path: root/vcl/source/window/introwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/introwin.cxx')
-rw-r--r--vcl/source/window/introwin.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/window/introwin.cxx b/vcl/source/window/introwin.cxx
index 4268f498e74b..709f97696992 100644
--- a/vcl/source/window/introwin.cxx
+++ b/vcl/source/window/introwin.cxx
@@ -47,8 +47,10 @@ void IntroWindow::dispose()
{
// FIXME: really we should have a dispose & a ref-ptr there [!] ...
ImplSVData* pSVData = ImplGetSVData();
- if ( pSVData->mpIntroWindow == this )
- pSVData->mpIntroWindow = NULL;
+ if ( pSVData->mpIntroWindow.get() == this )
+ pSVData->mpIntroWindow = nullptr;
+
+ WorkWindow::dispose();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */