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 148ff37d0d9f..e7216d25f256 100644
--- a/svtools/source/hatchwindow/hatchwindow.cxx
+++ b/svtools/source/hatchwindow/hatchwindow.cxx
@@ -45,7 +45,7 @@ void VCLXHatchWindow::initializeWindow( const uno::Reference< awt::XWindowPeer >
{
SolarMutexGuard aGuard;
- vcl::Window* pParent = nullptr;
+ VclPtr<vcl::Window> pParent;
VCLXWindow* pParentComponent = VCLXWindow::GetImplementation( xParent );
if ( pParentComponent )