diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-10 16:06:08 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-05-16 10:16:35 +0200 |
commit | ed508772174055041b409af25c5168f021cc1cad (patch) | |
tree | e1363d95155d545eadfbb3aa3c21d61519bb94a4 /svx | |
parent | b36b381587c9ec892f86d7bbd6dbc79c6914c991 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 2ff893426093652221a8602e71c7924c46d3386f)
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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() ) |