diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-08 16:09:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-08 16:43:41 +0100 |
commit | f374e01af32c7752b31455642e7d76f2056a2aeb (patch) | |
tree | 4b9cb62caa61c8b4294ca89bbf04522a6e2db2d0 | |
parent | d79ab5dc5824de2b00c14c66af339761bde9e9fc (diff) |
Resolves: tdf#100813 crash during pagination of particular docx
Change-Id: Id2c99cc6c5fe4c3a5bcf3c0b3f16b603cdd46239
-rw-r--r-- | sw/source/core/layout/flowfrm.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 44e8af08633c..3e4187175780 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -2017,6 +2017,9 @@ bool SwFlowFrame::MoveBwd( bool &rbReformat ) } SwFootnoteBossFrame * pOldBoss = m_rThis.FindFootnoteBossFrame(); + if (!pOldBoss) + return false; + SwPageFrame * const pOldPage = pOldBoss->FindPageFrame(); SwLayoutFrame *pNewUpper = nullptr; bool bCheckPageDescs = false; |