sw/source/core/layout/paintfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 80d96f738abd01d68befc44a607abe3c360604b1 Author: Cédric Bosdonnat <cedric.bosdonnat....@free.fr> Date: Thu Oct 6 12:43:17 2011 +0200 Page Break: fixed crasher, the page frame can contain no children diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index d51ef08..32a4365 100755 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3340,7 +3340,7 @@ void SwPageFrm::PaintBreak( ) const // Test if the first node is a table const SwFrm* pFirstFrm = pLayBody->Lower(); - if ( pFirstFrm->IsTabFrm() ) + if ( pFirstFrm && pFirstFrm->IsTabFrm() ) pFlowFrm = static_cast< const SwTabFrm* >( pFirstFrm ); if ( pFlowFrm && pFlowFrm->IsPageBreak( sal_True ) )
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits