[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Thu May 10 11:05:35 UTC 2018
sw/source/core/layout/fly.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 014d31ca48e5ec443e8c7e70edc815f51746c71f
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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);
}
More information about the Libreoffice-commits
mailing list