sw/source/core/layout/trvlfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d33a43a76c3ad6d38f7c2dca0ff5386ee5264bce Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Thu Apr 4 10:51:10 2024 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Thu Apr 4 13:11:08 2024 +0200 Drop one redundant check Change-Id: I0ae90e10fad2d6e41d855ead69b8cdcf8d53f525 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165719 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index aa1a255fc421..07801bf93164 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -1205,7 +1205,7 @@ const SwContentFrame *SwLayoutFrame::GetContentPos( Point& rPoint, if ( !pContent && (GetPrev() && !bDontLeave) ) pContent = ContainsContent(); - if ( bBodyOnly && pContent && !pContent->IsInDocBody() ) + if ( bBodyOnly ) while ( pContent && !pContent->IsInDocBody() ) pContent = pContent->GetNextContentFrame();