[Libreoffice-commits] .: sw/source

Noel Power noelp at kemper.freedesktop.org
Tue Jan 31 03:38:58 PST 2012


 sw/source/core/layout/pagechg.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b446a1fb30b5a7097824acfe6bbbb143f4284b03
Author: Andreas Schierl <openoffice at schierla.de>
Date:   Mon Jan 30 23:34:56 2012 +0100

    ClrContourCache for SwAnchoredDrawObjects

diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 55fdefe..4b7092b 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.


More information about the Libreoffice-commits mailing list