diff options
author | Andreas Schierl <openoffice@schierla.de> | 2012-01-31 14:29:32 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-01-31 14:32:24 +0000 |
commit | 84370b807279cd8336c3e77278bae42b904324b4 (patch) | |
tree | a32112422c031fad3c097ceae8ebae8f62471905 | |
parent | 377beefb047e90fdaabb63ca9feb0f8640ec1117 (diff) |
only call ClrContour for contour wrapped drawing objects
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 4b7092bfbcf0..403f64d013f3 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -39,6 +39,7 @@ #include <fmtfordr.hxx> #include <fmtfld.hxx> #include <fmtornt.hxx> +#include <fmtsrnd.hxx> #include <ftninfo.hxx> #include <tgrditem.hxx> #include <viewopt.hxx> @@ -2037,7 +2038,8 @@ void lcl_MoveAllLowerObjs( SwFrm* pFrm, const Point& rOffset ) pAnchoredDrawObj->SetLastObjRect( pAnchoredDrawObj->GetObjRect().SVRect() ); // clear contour cache - ClrContourCache( pAnchoredDrawObj->GetDrawObj() ); + if ( pAnchoredDrawObj->GetFrmFmt().GetSurround().IsContour() ) + ClrContourCache( pAnchoredDrawObj->GetDrawObj() ); } // #i92511# // cache for object rectangle inclusive spaces has to be invalidated. |