summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/objectformatter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/objectformatter.cxx')
-rw-r--r--sw/source/core/layout/objectformatter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/objectformatter.cxx b/sw/source/core/layout/objectformatter.cxx
index c4f0c73ab3b0..43cd7fc94e56 100644
--- a/sw/source/core/layout/objectformatter.cxx
+++ b/sw/source/core/layout/objectformatter.cxx
@@ -364,7 +364,7 @@ void SwObjectFormatter::FormatObj_( SwAnchoredObject& _rAnchoredObj )
// --> #i57917#
// stop formatting of anchored object, if restart of layout process is requested.
- } while ( !rFlyFrame.IsValid() &&
+ } while ( !rFlyFrame.isFrameAreaDefinitionValid() &&
!_rAnchoredObj.RestartLayoutProcess() &&
rFlyFrame.GetAnchorFrame() == &GetAnchorFrame() );
}