svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit f6fd7dd08b478857234a3b1b5b18e65e9b250174 Author: Noel Grandin <noel.gran...@collabora.co.uk> 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/37470 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 943918988c12..a3b2a06a2c61 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -226,6 +226,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 libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits