[Libreoffice-commits] core.git: vcl/source
Michael Meeks
michael.meeks at collabora.com
Sat Aug 29 15:41:27 PDT 2015
vcl/source/window/stacking.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 77a0897e6000990666d6f4dad54d549b0b7fda27
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Sat Aug 29 23:47:01 2015 +0100
tdf#93536 - avoid crash when calling ToTop on disposed window.
Change-Id: I677f47f6b60271dc56c9d3d123cf982c00866eb9
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx
index 8f2e7bb..bd1c094 100644
--- a/vcl/source/window/stacking.cxx
+++ b/vcl/source/window/stacking.cxx
@@ -438,6 +438,8 @@ void Window::ImplHideAllOverlaps()
void Window::ToTop( ToTopFlags nFlags )
{
+ if (!mpWindowImpl)
+ return;
ImplStartToTop( nFlags );
ImplFocusToTop( nFlags, IsReallyVisible() );
More information about the Libreoffice-commits
mailing list