diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-29 23:47:01 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-08-29 23:48:35 +0100 |
commit | 77a0897e6000990666d6f4dad54d549b0b7fda27 (patch) | |
tree | 31dd4e3ff19a6a63f7502f88daf46167111e80c5 /vcl | |
parent | 5191fcb11688ef8f4ec312293e57e151762c6952 (diff) |
tdf#93536 - avoid crash when calling ToTop on disposed window.
Change-Id: I677f47f6b60271dc56c9d3d123cf982c00866eb9
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/stacking.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx index 8f2e7bbea7d0..bd1c0949401b 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() ); |