Try to fix tdf#93967 by using VclPtr to keep the window alive

Change-Id: Ibc03ae15b22eba672475ace602858ad60e95418d
Reviewed-on: https://gerrit.libreoffice.org/24283
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
Arnaud Versini
2016-04-21 20:50:16 +02:00
committed by Michael Meeks
parent ebc76403c4
commit 2e1a724c20

View File

@@ -96,7 +96,7 @@ void FloatingWindow::ImplInit( vcl::Window* pParent, WinBits nStyle )
}
else
{
ImplBorderWindow* pBorderWin;
VclPtr<ImplBorderWindow> pBorderWin;
sal_uInt16 nBorderStyle = BORDERWINDOW_STYLE_BORDER | BORDERWINDOW_STYLE_FLOAT;
if (nStyle & WB_OWNERDRAWDECORATION)