[Libreoffice] [PATCH] contour handling for anchored draw objects in writer (fix for bugs 34611 and 45376)

Andreas Schierl openoffice at schierla.de
Mon Jan 30 14:53:51 PST 2012


Hi, I found out that bugs
  https://bugs.freedesktop.org/show_bug.cgi?id=34611
  https://bugs.freedesktop.org/show_bug.cgi?id=45376
are caused by a missing call to
   ClrContourCache( pObj );
in
   /sw/source/core/layout/pagechg.cxx:
   void lcl_MoveAllLowerObjs( SwFrm* pFrm, const Point& rOffset )
in the
   else if ( pAnchoredObj->ISA(SwAnchoredDrawObject) )
case (in the if case, pFlyFrm->NotifyDrawObj() calls ClrContourCache).

The attached patch fixes that problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-ClrContourCache-for-SwAnchoredDrawObjects.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120130/c97b26b6/attachment.asc>


More information about the LibreOffice mailing list