diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/flyincnt.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx index ba7f5c538117..0fa9b59404fc 100644 --- a/sw/source/core/layout/flyincnt.cxx +++ b/sw/source/core/layout/flyincnt.cxx @@ -220,7 +220,7 @@ void SwFlyInCntFrm::MakeAll() if ( IsClipped() ) mbValidSize = bHeightClipped = bWidthClipped = sal_False; - while ( !mbValidPos || !mbValidSize || !mbValidPrtArea ) + while ( !mbValidPos || !mbValidSize || !mbValidPrtArea || !m_bValidContentPos ) { //Only stop, if the flag is set!! if ( !mbValidSize ) @@ -229,7 +229,10 @@ void SwFlyInCntFrm::MakeAll() } if ( !mbValidPrtArea ) + { MakePrtArea( rAttrs ); + m_bValidContentPos = false; + } if ( !mbValidSize ) Format( &rAttrs ); @@ -239,6 +242,9 @@ void SwFlyInCntFrm::MakeAll() MakeObjPos(); } + if ( !m_bValidContentPos ) + MakeContentPos( rAttrs ); + // re-activate clipping of as-character anchored Writer fly frames // depending on compatibility option <ClipAsCharacterAnchoredWriterFlyFrames> if ( mbValidPos && mbValidSize && |