sw/source/core/layout/pagechg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 84370b807279cd8336c3e77278bae42b904324b4 Author: Andreas Schierl <openoff...@schierla.de> Date: Tue Jan 31 14:29:32 2012 +0000 only call ClrContour for contour wrapped drawing objects diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 4b7092b..403f64d 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. _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits