Index: svdopath.cxx =================================================================== RCS file: /cvs/graphics/svx/source/svdraw/svdopath.cxx,v retrieving revision 1.27 diff -u -r1.27 svdopath.cxx --- source/svdraw/svdopath.cxx 3 Nov 2004 11:01:41 -0000 1.27 +++ source/svdraw/svdopath.cxx 16 Feb 2005 09:44:39 -0000 @@ -3317,9 +3317,6 @@ // fill in values Vector2D aScale((double)aRectangle.GetWidth(), (double)aRectangle.GetHeight()); Vector2D aTranslate((double)aRectangle.Left(), (double)aRectangle.Top()); - - // polygon to (0,0) - rPolyPolygon.Move(-aRectangle.Left(), -aRectangle.Top()); // position maybe relative to anchorpos, convert if( pModel->IsWriter() ) Index: unoshap2.cxx =================================================================== RCS file: /cvs/graphics/svx/source/unodraw/unoshap2.cxx,v retrieving revision 1.48 diff -u -r1.48 unoshap2.cxx --- source/unodraw/unoshap2.cxx 26 Nov 2004 18:15:31 -0000 1.48 +++ source/unodraw/unoshap2.cxx 16 Feb 2005 09:45:45 -0000 @@ -1251,6 +1251,11 @@ pObj->TRGetBaseGeometry( aMatrix3D, aPolyPoly ); drawing::PointSequenceSequence aRetval( aPolyPoly.Count() ); + Rectangle aRectangle; + // get bound rect for values + aRectangle = aPolyPoly.GetBoundRect(); + // polygon to (0,0) + aPolyPoly.Move(-aRectangle.Left(), -aRectangle.Top()); SvxPointSequenceSequenceToXPolyPolygon( aPolyPoly, aRetval );