diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dockingarea.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx index 4d01b3625e0c..647f87bf3d36 100644 --- a/vcl/source/window/dockingarea.cxx +++ b/vcl/source/window/dockingarea.cxx @@ -44,7 +44,7 @@ DockingAreaWindow::DockingAreaWindow( vcl::Window* pParent ) : { ImplInit( pParent, WB_CLIPCHILDREN|WB_3DLOOK, nullptr ); - mpImplData = new ImplData; + mpImplData.reset(new ImplData); } DockingAreaWindow::~DockingAreaWindow() @@ -54,7 +54,7 @@ DockingAreaWindow::~DockingAreaWindow() void DockingAreaWindow::dispose() { - delete mpImplData; + mpImplData.reset(); Window::dispose(); } |