summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-31 12:02:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-31 14:57:04 +0200
commit7e774b4d49e332b40031c2a8759b996d15481e38 (patch)
tree6660b5c3f9589bf6db1529cab5109574dbc268a4
parent8fce4a0a1077ed9d5652c8a9101e60be1408f47b (diff)
cid#1500462 Dereference before null check
appears to be dead code all the way back to commit 7b0b5cdfeed656b279bc32cd929630d5fc25878b Author: Jens-Heiner Rechtien <hr@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.grandin@collabora.co.uk>
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx2
1 files changed, 0 insertions, 2 deletions
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)