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:
committed by
Michael Meeks
parent
ebc76403c4
commit
2e1a724c20
@@ -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)
|
||||
|
Reference in New Issue
Block a user