[Libreoffice-commits] core.git: svx/source

Noel Grandin noel.grandin at collabora.co.uk
Thu May 11 08:26:16 UTC 2017


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

New commits:
commit f6fd7dd08b478857234a3b1b5b18e65e9b250174
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/37470
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at 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() )


More information about the Libreoffice-commits mailing list