diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-08 10:54:51 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-08 12:31:52 +0100 |
commit | 3e9c65a714d9ec5136dc141adc101f34ff7092f6 (patch) | |
tree | 980f5a5e4b2122383c5aeb24278630c7acfd38d6 /svx/source/svdraw/svdtrans.cxx | |
parent | 4870d2f7b8a642ee4152a4bb1022a9d099afe304 (diff) |
svx: nAnz -> nCount
Change-Id: I88bff880a5fb27b259b66984a0637fe7d2ab51f6
Diffstat (limited to 'svx/source/svdraw/svdtrans.cxx')
-rw-r--r-- | svx/source/svdraw/svdtrans.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index 4de3f7033571..d2a70835d72d 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -61,40 +61,40 @@ void ResizeRect(Rectangle& rRect, const Point& rRef, const Fraction& rxFact, con void ResizePoly(Polygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact) { - sal_uInt16 nAnz=rPoly.GetSize(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetSize(); + for (sal_uInt16 i=0; i<nCount; i++) { ResizePoint(rPoly[i],rRef,xFact,yFact); } } void ResizeXPoly(XPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact) { - sal_uInt16 nAnz=rPoly.GetPointCount(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetPointCount(); + for (sal_uInt16 i=0; i<nCount; i++) { ResizePoint(rPoly[i],rRef,xFact,yFact); } } void RotatePoly(Polygon& rPoly, const Point& rRef, double sn, double cs) { - sal_uInt16 nAnz=rPoly.GetSize(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetSize(); + for (sal_uInt16 i=0; i<nCount; i++) { RotatePoint(rPoly[i],rRef,sn,cs); } } void RotateXPoly(XPolygon& rPoly, const Point& rRef, double sn, double cs) { - sal_uInt16 nAnz=rPoly.GetPointCount(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetPointCount(); + for (sal_uInt16 i=0; i<nCount; i++) { RotatePoint(rPoly[i],rRef,sn,cs); } } void RotateXPoly(XPolyPolygon& rPoly, const Point& rRef, double sn, double cs) { - sal_uInt16 nAnz=rPoly.Count(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.Count(); + for (sal_uInt16 i=0; i<nCount; i++) { RotateXPoly(rPoly[i],rRef,sn,cs); } } @@ -135,32 +135,32 @@ void MirrorPoint(Point& rPnt, const Point& rRef1, const Point& rRef2) void MirrorPoly(Polygon& rPoly, const Point& rRef1, const Point& rRef2) { - sal_uInt16 nAnz=rPoly.GetSize(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetSize(); + for (sal_uInt16 i=0; i<nCount; i++) { MirrorPoint(rPoly[i],rRef1,rRef2); } } void MirrorXPoly(XPolygon& rPoly, const Point& rRef1, const Point& rRef2) { - sal_uInt16 nAnz=rPoly.GetPointCount(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetPointCount(); + for (sal_uInt16 i=0; i<nCount; i++) { MirrorPoint(rPoly[i],rRef1,rRef2); } } void ShearPoly(Polygon& rPoly, const Point& rRef, double tn, bool bVShear) { - sal_uInt16 nAnz=rPoly.GetSize(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetSize(); + for (sal_uInt16 i=0; i<nCount; i++) { ShearPoint(rPoly[i],rRef,tn,bVShear); } } void ShearXPoly(XPolygon& rPoly, const Point& rRef, double tn, bool bVShear) { - sal_uInt16 nAnz=rPoly.GetPointCount(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rPoly.GetPointCount(); + for (sal_uInt16 i=0; i<nCount; i++) { ShearPoint(rPoly[i],rRef,tn,bVShear); } } @@ -858,12 +858,12 @@ void SdrFormatter::TakeStr(long nVal, OUString& rStr) const if(nC > 0 && aStr.getLength() <= nC ) { // decimal separator necessary - sal_Int32 nAnz(nC - aStr.getLength()); + sal_Int32 nCount(nC - aStr.getLength()); - if(nAnz >= 0 && rLoc.isNumLeadingZero()) - nAnz++; + if(nCount >= 0 && rLoc.isNumLeadingZero()) + nCount++; - for(sal_Int32 i=0; i<nAnz; i++) + for(sal_Int32 i=0; i<nCount; i++) aStr.insert(0, aNullCode); // remove superfluous decimal points |