summaryrefslogtreecommitdiff
path: root/svtools/source/hatchwindow/hatchwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/hatchwindow/hatchwindow.cxx')
-rw-r--r--svtools/source/hatchwindow/hatchwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/hatchwindow/hatchwindow.cxx b/svtools/source/hatchwindow/hatchwindow.cxx
index dc1828d08642..f31e8d14c0ec 100644
--- a/svtools/source/hatchwindow/hatchwindow.cxx
+++ b/svtools/source/hatchwindow/hatchwindow.cxx
@@ -188,7 +188,7 @@ void SAL_CALL VCLXHatchWindow::setController( const uno::Reference< embed::XHatc
void SAL_CALL VCLXHatchWindow::dispose()
throw (uno::RuntimeException, std::exception)
{
- pHatchWindow = 0;
+ pHatchWindow.clear();
VCLXWindow::dispose();
}