summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/tabfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r--sw/source/core/layout/tabfrm.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 75c0c7444d1e..694e1b70fb03 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -878,11 +878,6 @@ bool SwTabFrame::RemoveFollowFlowLine()
pFollowFlowLine &&
pLastLine, "There should be a flowline in the follow" );
- // We have to reset the flag here, because lcl_MoveRowContent
- // calls a GrowFrame(), which has a different behavior if
- // this flag is set.
- SetFollowFlowLine( false );
-
// #140081# Make code robust.
if ( !pFollowFlowLine || !pLastLine )
return true;
@@ -892,6 +887,11 @@ bool SwTabFrame::RemoveFollowFlowLine()
return false;
}
+ // We have to reset the flag here, because lcl_MoveRowContent
+ // calls a GrowFrame(), which has a different behavior if
+ // this flag is set.
+ SetFollowFlowLine( false );
+
// Move content
lcl_MoveRowContent( *pFollowFlowLine, *static_cast<SwRowFrame*>(pLastLine) );