summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/trvlfrm.cxx2
1 files changed, 1 insertions, 1 deletions
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();