diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-29 08:34:28 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2021-08-19 10:53:34 +0200 |
commit | 13449131ba1b041875e4d84af008196aacf574e0 (patch) | |
tree | f44bf53c88d2b41552187242a369f14563c036f9 /vcl | |
parent | d77d0a91ce6a2f863b78426d67856f557fc56411 (diff) |
IsDisposed->isDisposed in vcl/../window
Cherry-picked piece of code as this solves a crash in wollmux.
Change-Id: Ic1c8bb6bb9a45d4e91c997b752e23aed35767f42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116364
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120318
Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/mouse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx index a3a06ecf1f31..d3f61a551876 100644 --- a/vcl/source/window/mouse.cxx +++ b/vcl/source/window/mouse.cxx @@ -343,7 +343,7 @@ void Window::ImplGrabFocus( GetFocusFlags nFlags ) } // call Get- and LoseFocus - if ( pOldFocusWindow && ! pOldFocusWindow->IsDisposed() ) + if ( pOldFocusWindow && ! pOldFocusWindow->isDisposed() ) { NotifyEvent aNEvt( MouseNotifyEvent::LOSEFOCUS, pOldFocusWindow ); if ( !ImplCallPreNotify( aNEvt ) ) |