summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndreas Schierl <openoffice@schierla.de>2012-01-30 23:34:56 +0100
committerNoel Power <noel.power@novell.com>2012-01-31 11:39:42 +0000
commitb446a1fb30b5a7097824acfe6bbbb143f4284b03 (patch)
tree2991569c65f445119c57b516d1fc9903abbcd758 /sw
parent4995bccb953dd398585f1f328fed10e9c170a029 (diff)
ClrContourCache for SwAnchoredDrawObjects
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/pagechg.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 55fdefe6927b..4b7092bfbcf0 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.