sw/source/uibase/utlui/content.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 97ec34d3561cba66f51d5b798638f643ac33378a
Author:     Xisco Fauli <[email protected]>
AuthorDate: Tue Jan 27 10:24:39 2026 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Jan 27 11:21:32 2026 +0100

    sw: silence warning C6011: Dereferencing NULL pointer 'pCnt'
    
    
E:/jenkins/workspace/lo_tb_master_win_analyze/sw/source/uibase/utlui/content.cxx(3144):
 error C2220: the following warning is treated as an error
    E:\jenkins\workspace\lo_tb_master_win_analyze\sw\source\uibase\utlui    
    After
    commit a66fd0b6d9300a7def03658c1661cb6d5f609ab9
    Author: Jim Raykowski <[email protected]>
    Date:   Sun Dec 21 23:31:53 2025 -0900
    
        tdf#164864 SwNavigator should show index entries
    
    Change-Id: Ib5f565b7b30fbdb8a8d78d6da305bffb43b93b7b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198189
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/sw/source/uibase/utlui/content.cxx 
b/sw/source/uibase/utlui/content.cxx
index 382031dac22d..8a7151257669 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -3137,7 +3137,10 @@ IMPL_LINK(SwContentTree, EditingEntryHdl, const 
weld::TreeIter&, rIter, bool)
     if (dynamic_cast<SwTOXMarkContent*>(static_cast<SwTypeNumber*>(pCnt)))
         m_bEditing = false;
     else
+    {
+        assert(pCnt);
         m_bEditing = pCnt->GetParent()->IsRenamable();
+    }
     if (m_bEditing)
         OverlayObject();
     return m_bEditing;

Reply via email to