diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 00:55:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:04:34 +0100 |
commit | d82ceb0cfdfac64f9d377cb273aa9c85cb475d00 (patch) | |
tree | 9c050c678495c6de287ceff860320db932a9b38e /svx | |
parent | c46bc9ed206f560be9873c8fd035024d306229c3 (diff) |
remove unused polypolygon variants
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdtrans.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdtrans.cxx | 18 |
2 files changed, 0 insertions, 20 deletions
diff --git a/svx/inc/svx/svdtrans.hxx b/svx/inc/svx/svdtrans.hxx index b0cd472a2681..e740b71c4be5 100644 --- a/svx/inc/svx/svdtrans.hxx +++ b/svx/inc/svx/svdtrans.hxx @@ -92,8 +92,6 @@ void MirrorXPoly(XPolyPolygon& rPoly, const Point& rRef1, const Point& rRef2); inline void ShearPoint(Point& rPnt, const Point& rRef, double tn, bool bVShear = false); SVX_DLLPUBLIC void ShearPoly(Polygon& rPoly, const Point& rRef, double tn, bool bVShear = false); void ShearXPoly(XPolygon& rPoly, const Point& rRef, double tn, bool bVShear = false); -void ShearPoly(PolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear = false); -void ShearXPoly(XPolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear = false); // rPnt.X bzw rPnt.Y wird auf rCenter.X bzw. rCenter.Y gesetzt! // anschliessend muss rPnt nur noch um rCenter gedreht werden. diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index 180e967571bf..22445841eb1e 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -250,24 +250,6 @@ void ShearXPoly(XPolygon& rPoly, const Point& rRef, double tn, bool bVShear) } } -void ShearPoly(PolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear) -{ - sal_uInt16 nAnz=rPoly.Count(); - for (sal_uInt16 i=0; i<nAnz; i++) { - ShearPoly(rPoly[i],rRef,tn,bVShear); - } -} - -void ShearXPoly(XPolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear) -{ - sal_uInt16 nAnz=rPoly.Count(); - for (sal_uInt16 i=0; i<nAnz; i++) { - ShearXPoly(rPoly[i],rRef,tn,bVShear); - } -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, const Point& rRad, double& rSin, double& rCos, bool bVert) { |