sw/source/uibase/utlui/glbltree.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 7e774b4d49e332b40031c2a8759b996d15481e38
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Aug 31 12:02:26 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Aug 31 14:57:04 2022 +0200

    cid#1500462 Dereference before null check
    
    appears to be dead code all the way back to
        commit 7b0b5cdfeed656b279bc32cd929630d5fc25878b
        Author: Jens-Heiner Rechtien <h...@openoffice.org>
        Date:   Mon Sep 18 16:15:01 2000 +0000
        initial import
    
    Change-Id: I591cd51097daa641ccf1f583f7770ade138726ca
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139096
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/uibase/utlui/glbltree.cxx 
b/sw/source/uibase/utlui/glbltree.cxx
index 4e64540c4a90..d6577271cc3b 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -459,8 +459,6 @@ void SwGlobalTree::Display(bool bOnlyUpdateUserData)
         }
         m_xTreeView->freeze();
         m_xTreeView->clear();
-        if (!m_pSwGlblDocContents)
-            Update( false );
 
         int nSelEntry = -1;
         for (size_t i = 0; i < nCount; ++i)

Reply via email to