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

New commits:
commit 2c0f2e43f7152c34026d3f3bb7562d4e2f8b4d90
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jul 19 16:29:21 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jul 19 22:16:53 2018 +0200

    coverity#1437527 silence Explicit null dereferenced
    
    Change-Id: Id085fb6ab14a27c84beed0d29284a125e82d277d
    Reviewed-on: https://gerrit.libreoffice.org/57737
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/uibase/utlui/content.cxx 
b/sw/source/uibase/utlui/content.cxx
index 8cf3a7991878..9e39dabdd957 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -688,6 +688,7 @@ void SwContentType::FillMemberList(bool* 
pbLevelOrVisibilityChanged)
 
                 if(nullptr != pbLevelOrVisibilityChanged)
                 {
+                    assert(pOldMember);
                     // need to check visibility (and equal entry number) after
                     // creation due to a sorted list being used here (before,
                     // entries with same index were compared already at 
creation
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to