diff options
author | Oliver-Rainer Wittmann <orw@apache.org> | 2012-07-09 15:20:47 +0000 |
---|---|---|
committer | Oliver-Rainer Wittmann <orw@apache.org> | 2012-07-09 15:20:47 +0000 |
commit | e352f0573c49b9bf0dd7ff91d171eb5cb1f7d5a9 (patch) | |
tree | 1155bab43d32be79dcee0db2bd05e4393e28c7a7 /sw | |
parent | 66cef81342b38e23c6785c101fe204a9512f0646 (diff) |
#100684# - function <lcl_MoveAllLowerObjs(..)> - assure that contour cache is cleared.
Found by: openoffice at schierla dot de
Patch by: openoffice at schierla dot de
Reciew by: Oliver <orw at apache dot org>
Notes
Notes:
prefer: 84370b807279cd8336c3e77278bae42b904324b4
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 91d15df022cb..96a90fd77203 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -36,6 +36,7 @@ #include <fmtfordr.hxx> #include <fmtfld.hxx> #include <fmtornt.hxx> +#include <fmtsrnd.hxx> #include <ftninfo.hxx> #include <tgrditem.hxx> #include <viewopt.hxx> @@ -2079,6 +2080,10 @@ void lcl_MoveAllLowerObjs( SwFrm* pFrm, const Point& rOffset ) const Point aNewAnchorPos( ( aCurrAnchorPos + rOffset ) ); pAnchoredDrawObj->DrawObj()->SetAnchorPos( aNewAnchorPos ); pAnchoredDrawObj->SetLastObjRect( pAnchoredDrawObj->GetObjRect().SVRect() ); + + // clear contour cache if contour wrapping is enabled #i100684# + if ( pAnchoredDrawObj->GetFrmFmt().GetSurround().IsContour() ) + ClrContourCache( pAnchoredDrawObj->GetDrawObj() ); } // --> OD 2009-08-20 #i92511# // cache for object rectangle inclusive spaces has to be invalidated. |