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 548399e40478..a2d6508e459c 100644 --- a/sw/source/core/layout/findfrm.cxx +++ b/sw/source/core/layout/findfrm.cxx @@ -1229,8 +1229,8 @@ SwFrame *SwFrame::FindPrev_() void SwFrame::ImplInvalidateNextPos( bool bNoFootnote ) { - SwFrame *pFrame; - if ( nullptr != (pFrame = FindNext_()) ) + SwFrame *pFrame = FindNext_(); + if ( nullptr != pFrame ) { if( pFrame->IsSctFrame() ) { |