diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-02-14 21:11:52 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 22:21:39 +0100 |
commit | 94e319834bb36b61b47d380cfbfaa3337c1dbea9 (patch) | |
tree | 4aba8c1dbc1921aa8674bdacb71de39f13d873d0 /vcl/source/window/event.cxx | |
parent | 125895c355ebc9f60e792cdfffdf790c10c950cc (diff) |
vclref: re-work mbInDtor handling, add IsDisposed method and more.
Change-Id: I4b522e0df372d61d8bb7bbcd4b0629c4412cae06
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r-- | vcl/source/window/event.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index da38fde26b36..d4e4601e1cd1 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -221,6 +221,9 @@ void Window::CallEventListeners( sal_uLong nEvent, void* pData ) { pWindow->ImplAddDel( &aDelData ); + if ( aDelData.IsDead() ) + return; + pWindow->mpWindowImpl->maChildEventListeners.Call( &aEvent ); if ( aDelData.IsDead() ) |