summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-07 21:29:24 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-07 21:30:46 +0100
commit03e3d888fff9301b8d22484e8b626d6cc0af9127 (patch)
tree02fc7c19f15f6f7dd54bd4c5c0829c7368e0e7ca
parent94b1c8ca69c888aa15e5736f70a966dfc04273ca (diff)
tdf#91073 - hold a reference on the floatwin in UserEvent handler.
Change-Id: I6f8b8681643448d2b335c9f16d63a75cbd43f854
-rw-r--r--vcl/source/window/floatwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index d2a7a90f1252..1060021d7461 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -524,6 +524,7 @@ bool FloatingWindow::ImplIsFloatPopupModeWindow( const vcl::Window* pWindow )
IMPL_LINK_NOARG(FloatingWindow, ImplEndPopupModeHdl)
{
+ VclPtr<FloatingWindow> pThis(this);
mnPostId = 0;
mnPopupModeFlags = 0;
mbPopupMode = false;