diff options
Diffstat (limited to 'sw/source/core/layout/findfrm.cxx')
-rw-r--r-- | sw/source/core/layout/findfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx index a38f9f989529..a0c0eceebfac 100644 --- a/sw/source/core/layout/findfrm.cxx +++ b/sw/source/core/layout/findfrm.cxx @@ -395,8 +395,8 @@ const SwContentFrame* SwContentFrame::ImplGetNextContentFrame( bool bFwd ) const } bGoingUp = !(bGoingFwdOrBwd || bGoingDown); - - if ( !bFwd && bGoingDown && p ) + assert(p); + if (!bFwd && bGoingDown) { while ( p->GetNext() ) p = p->GetNext(); |