summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/objectformattertxtfrm.cxx b/sw/source/core/layout/objectformattertxtfrm.cxx
index a06cb6b679fb..2c0ea38aae43 100644
--- a/sw/source/core/layout/objectformattertxtfrm.cxx
+++ b/sw/source/core/layout/objectformattertxtfrm.cxx
@@ -733,7 +733,7 @@ bool SwObjectFormatterTextFrame::CheckMovedFwdCondition(
// "below" and the row could potentially be split
// TODO refine check if needed
if (!pInBodyFrameAnchoredObj->IsInTab()
- || FindTopLevelRowFrame(pInBodyFrameAnchoredObj)
+ || FindTopLevelRowFrame(pInBodyFrameObj)
!= FindTopLevelRowFrame(pInBodyFrameAnchoredObj))
{ // anchored in next chain on same page
SAL_INFO("sw.layout", "SwObjectFormatterTextFrame::CheckMovedFwdCondition(): o_rbPageHasFlysAnchoredBelowThis because next chain on same page");