summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-16 12:10:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-16 20:31:59 +0200
commit8c46066fd383708dbb3137647048bd5d382a6ece (patch)
tree9e8d92320b949b2b04584d93e8b815c19d78dffd
parentae7131ecd8596ef16dd4c2f86abb830a78a602ce (diff)
cid#1448538 Explicit null referenced
Change-Id: I143fc38076a811b15c9f13bef96589a55ea649fc Reviewed-on: https://gerrit.libreoffice.org/75715 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/core/layout/ftnfrm.cxx1
1 files changed, 1 insertions, 0 deletions
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<SwFootnoteBossFrame*>(pNewChief)->MoveFootnotes_( *pFootnoteArr, true );
pFootnoteArr.reset();
}