summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdtrans.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 14:52:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-04 08:47:54 +0200
commitb258ecd76171bab37139cfa0f56d079cda4fbb39 (patch)
tree3751388e4869819b0605b5939a25a51cb10db56f /svx/source/svdraw/svdtrans.cxx
parent33b150bbd636ab23ebf50a5301034f3a551f3793 (diff)
rename Anz->Cnt in svx
Change-Id: Idbe6849d36727c382ffd11d6bf04e78d6a66a878 Reviewed-on: https://gerrit.libreoffice.org/40740 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdtrans.cxx')
-rw-r--r--svx/source/svdraw/svdtrans.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index 55e7d4784e49..1c6eff45a09e 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -287,19 +287,19 @@ double CrookStretchXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCen
void CrookRotatePoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, bool bVert)
{
double nSin,nCos;
- sal_uInt16 nPointAnz=rPoly.GetPointCount();
+ sal_uInt16 nPointCnt=rPoly.GetPointCount();
sal_uInt16 i=0;
- while (i<nPointAnz) {
+ while (i<nPointCnt) {
Point* pPnt=&rPoly[i];
Point* pC1=nullptr;
Point* pC2=nullptr;
- if (i+1<nPointAnz && rPoly.IsControl(i)) { // control point to the left
+ if (i+1<nPointCnt && rPoly.IsControl(i)) { // control point to the left
pC1=pPnt;
i++;
pPnt=&rPoly[i];
}
i++;
- if (i<nPointAnz && rPoly.IsControl(i)) { // control point to the right
+ if (i<nPointCnt && rPoly.IsControl(i)) { // control point to the right
pC2=&rPoly[i];
i++;
}
@@ -310,19 +310,19 @@ void CrookRotatePoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, b
void CrookSlantPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, bool bVert)
{
double nSin,nCos;
- sal_uInt16 nPointAnz=rPoly.GetPointCount();
+ sal_uInt16 nPointCnt=rPoly.GetPointCount();
sal_uInt16 i=0;
- while (i<nPointAnz) {
+ while (i<nPointCnt) {
Point* pPnt=&rPoly[i];
Point* pC1=nullptr;
Point* pC2=nullptr;
- if (i+1<nPointAnz && rPoly.IsControl(i)) { // control point to the left
+ if (i+1<nPointCnt && rPoly.IsControl(i)) { // control point to the left
pC1=pPnt;
i++;
pPnt=&rPoly[i];
}
i++;
- if (i<nPointAnz && rPoly.IsControl(i)) { // control point to the right
+ if (i<nPointCnt && rPoly.IsControl(i)) { // control point to the right
pC2=&rPoly[i];
i++;
}
@@ -333,19 +333,19 @@ void CrookSlantPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, bo
void CrookStretchPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, bool bVert, const tools::Rectangle& rRefRect)
{
double nSin,nCos;
- sal_uInt16 nPointAnz=rPoly.GetPointCount();
+ sal_uInt16 nPointCnt=rPoly.GetPointCount();
sal_uInt16 i=0;
- while (i<nPointAnz) {
+ while (i<nPointCnt) {
Point* pPnt=&rPoly[i];
Point* pC1=nullptr;
Point* pC2=nullptr;
- if (i+1<nPointAnz && rPoly.IsControl(i)) { // control point to the left
+ if (i+1<nPointCnt && rPoly.IsControl(i)) { // control point to the left
pC1=pPnt;
i++;
pPnt=&rPoly[i];
}
i++;
- if (i<nPointAnz && rPoly.IsControl(i)) { // control point to the right
+ if (i<nPointCnt && rPoly.IsControl(i)) { // control point to the right
pC2=&rPoly[i];
i++;
}