sw/source/core/layout/flowfrm.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 869a2228401195179deea0a6ad994183841c2c4d
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Feb 18 19:51:13 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Feb 19 12:00:24 2022 +0100

    cid#1500273 silence Dereference null return value
    
    this has been unchecked since the initial commit, so let's assume its
    intentional
    
    Change-Id: Iefe5ea1c49b6e97d3b7bb1021d214c00d4369c72
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130174
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/core/layout/flowfrm.cxx 
b/sw/source/core/layout/flowfrm.cxx
index c53512b2763a..9fb4575e98c8 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -2339,6 +2339,7 @@ bool SwFlowFrame::MoveBwd( bool &rbReformat )
         else
         {
             const SwFrame *pCol = m_rThis.FindColFrame();
+            assert(pCol);
             bool bGoOn = true;
             bool bJump = false;
             do

Reply via email to