[Libreoffice-commits] core.git: vcl/source
Arnaud Versini
arnaud.versini at gmail.com
Fri Apr 22 06:38:49 UTC 2016
vcl/source/window/floatwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2e1a724c2029783e84d7c508c6010afac0d6d10f
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Thu Apr 21 20:50:16 2016 +0200
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 at libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index a1d0a9b..f3b8e2b 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -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)
More information about the Libreoffice-commits
mailing list