From 8c46066fd383708dbb3137647048bd5d382a6ece Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Jul 2019 12:10:20 +0100 Subject: cid#1448538 Explicit null referenced MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I143fc38076a811b15c9f13bef96589a55ea649fc Reviewed-on: https://gerrit.libreoffice.org/75715 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/core/layout/ftnfrm.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw/source') diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx index 280e6ed13d82..824bf8401b70 100644 --- a/sw/source/core/layout/ftnfrm.cxx +++ b/sw/source/core/layout/ftnfrm.cxx @@ -2677,6 +2677,7 @@ bool SwLayoutFrame::MoveLowerFootnotes( SwContentFrame *pStart, SwFootnoteBossFr pNewBoss->MoveFootnotes_( aFootnoteArr, true ); if( pFootnoteArr ) { + assert(pNewChief); static_cast(pNewChief)->MoveFootnotes_( *pFootnoteArr, true ); pFootnoteArr.reset(); } -- cgit