sw/source/core/layout/fly.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 014d31ca48e5ec443e8c7e70edc815f51746c71f Author: Caolán McNamara <caol...@redhat.com> Date: Thu May 10 09:25:08 2018 +0100 crashtesting: PageFrame may not exist Change-Id: I5799ca4e08146688a842ff53a7eb5591504069a6 Reviewed-on: https://gerrit.libreoffice.org/54066 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index e87b5a06dae7..f9e1dd2a57c9 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -1428,7 +1428,7 @@ void CalcContent( SwLayoutFrame *pLay, bool bNoColl ) } { - SwFrameDeleteGuard aDeletePageGuard(pSect->FindPageFrame()); + SwFrameDeleteGuard aDeletePageGuard(pSect ? pSect->FindPageFrame() : nullptr); SwFrameDeleteGuard aDeleteGuard(pSect); pFrame->Calc(pRenderContext); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits