summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2016-04-21 20:50:16 +0200
committerMichael Meeks <michael.meeks@collabora.com>2016-04-22 06:38:27 +0000
commit2e1a724c2029783e84d7c508c6010afac0d6d10f (patch)
tree11fd6606af569f899c69d13b102c5c508df01e77
parentebc76403c4acb8fc176dd1239b930c1e7529bde7 (diff)
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>
-rw-r--r--vcl/source/window/floatwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index a1d0a9b5a0af..f3b8e2b1cc97 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)