| commit | 014d31ca48e5ec443e8c7e70edc815f51746c71f | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu May 10 09:25:08 2018 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Thu May 10 13:05:11 2018 +0200 |
| tree | 84cddc38559161803168d07bf0cab45bb2ac7b2c | |
| parent | 557ca49197ff3db6f2c5a28a9ed9cc736faf5796 [diff] |
crashtesting: PageFrame may not exist Change-Id: I5799ca4e08146688a842ff53a7eb5591504069a6 Reviewed-on: https://gerrit.libreoffice.org/54066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index e87b5a0..f9e1dd2 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); }