sw/source/core/layout/paintfrm.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 4f83442f2be2bf0ce1dcb75b44235f4fe13433df Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Aug 25 09:54:28 2023 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Sep 4 10:41:18 2023 +0200 crash case seen on clicking on drawing text box inside a footer Change-Id: Id7645ad651d237c94fecb2fc2b6c57a88f3caa55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156091 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> (cherry picked from commit bbbd7e346c5b929ca3b867b6dd80c71b8dd788d6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156385 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index e86ad990f83c..be694a390350 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -6946,7 +6946,8 @@ void SwPageFrame::PaintSubsidiaryLines( const SwPageFrame *, pLay = pLay->GetNext(); } - assert(pPageBody && "presumably this is impossible"); + if (!pPageBody) + return; SwRect aArea( pPageBody->getFrameArea() ); if ( pFootnoteCont )