tdf#115023 Check mpControlData for nullptr
Control::ImplClearLayoutData happens to be called post dispose, but Control::dispose already destroyed mpControlData. So put back the nullptr check that was removed in e8b49f09 ("new loplugin: useuniqueptr: vcl"). (But IMHO it's odd that we even try to send lose focus events to disposing windows. So maybe it would make sense to replace the "! pOldFocusWindow->IsDisposed()" check inside Window::ImplGrabFocus with "isDisposed()" which comes from VclReferenceBase, and set much earlier?) Change-Id: Iddaf7e05d6cb56c28a34884876770753fcf7179e Reviewed-on: https://gerrit.libreoffice.org/48246Reviewed-by:Noel Grandin <noel.grandin@collabora.co.uk> Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Maxim Monastirsky <momonasmon@gmail.com>
Showing
Please
register
or
sign in
to comment