[PATCH] ClrContourCache for SwAnchoredDrawObjects
Andreas Schierl
openoffice at schierla.de
Mon Jan 30 14:34:56 PST 2012
---
sw/source/core/layout/pagechg.cxx | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 79d7d1b..4bac372 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -2035,6 +2035,9 @@ 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
+ ClrContourCache( pAnchoredDrawObj->GetDrawObj() );
}
// #i92511#
// cache for object rectangle inclusive spaces has to be invalidated.
--
1.7.4.1
--------------050602020400090907020801--
More information about the LibreOffice
mailing list