svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2ff893426093652221a8602e71c7924c46d3386f Author: Noel Grandin <[email protected]> Date: Wed May 10 16:06:08 2017 +0200 tdf#107706 fix crash when closing Calc document regression from commit e8b49f09074fe184374bee5062715357427ae044 "new loplugin: useuniqueptr: vcl" Change-Id: I07ac157a02aa82b1ddbb741797fea093772f93f1 Reviewed-on: https://gerrit.libreoffice.org/37497 Tested-by: Jenkins <[email protected]> Reviewed-by: Noel Grandin <[email protected]> diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index b411c6cf18b2..6b9f2364fe9d 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -191,6 +191,8 @@ void FindTextFieldControl::SetTextToSelected_Impl() bool FindTextFieldControl::PreNotify( NotifyEvent& rNEvt ) { + if (isDisposed()) + return true; bool bRet= ComboBox::PreNotify( rNEvt ); switch ( rNEvt.GetType() ) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
