summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/objectformatter.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-30 21:30:32 +0100
committerArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-31 09:39:32 +0100
commit4e5817b8520f2d517444e24163d66dd13580e727 (patch)
tree9cd4e921cefd0fd20fa8098696f08a3feb3047d3 /sw/source/core/layout/objectformatter.cxx
parent2891ee3e4e8b7e1b519de99ae74603c0197a2e40 (diff)
RotateFlyFrame2: Unified FrameAreaDefinitionfeature/RotateFlyFrame2
Isolated all Frame AreaDefinition and it's layout flags to SwFrameAreaDefinition class which is now base for SwFrame. Adapted calls to get/set and WriteAccess hekper classes accordingly. This allows much deeper understanding what Writer is doing when layouting it's frames and needed when reaction on such changes is necessary Change-Id: I96220a1d140e69c76cc63023aae26e4ed17f3504
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() );
}