[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - svx/source

Noel Grandin noel.grandin at collabora.co.uk
Thu May 11 09:05:17 UTC 2017


 svx/source/tbxctrls/tbunosearchcontrollers.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2ff893426093652221a8602e71c7924c46d3386f
Author: Noel Grandin <noel.grandin at 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/37497
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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() )


More information about the Libreoffice-commits mailing list