diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-21 10:13:14 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-21 10:51:28 +0200 |
commit | 95fcbd2779757f9be89581bd253b8d49a2afa1e7 (patch) | |
tree | ee89c72ef04821744e706ac57709cfa2be92b5fd /svx/source/svdraw/svdedtv1.cxx | |
parent | 37aa209118631c706fb572d7d6c700017c276d12 (diff) |
svx: nPtAnz -> nPointCount
Change-Id: Iec25a45729143cea7a8ff5cf4e03969998f2c355
Diffstat (limited to 'svx/source/svdraw/svdedtv1.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv1.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index f40c7e31ce21..26e4b32da9ee 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -527,11 +527,11 @@ void SdrEditView::ImpCrookObj(SdrObject* pO, const Point& rRef, const Point& rRa if(!bDone && !pPath && pO->IsPolyObj() && 0L != pO->GetPointCount()) { // for PolyObj's, but NOT for SdrPathObj's, e.g. the measurement object - sal_uInt32 nPtAnz(pO->GetPointCount()); - XPolygon aXP((sal_uInt16)nPtAnz); + sal_uInt32 nPointCount(pO->GetPointCount()); + XPolygon aXP((sal_uInt16)nPointCount); sal_uInt32 nPtNum; - for(nPtNum = 0L; nPtNum < nPtAnz; nPtNum++) + for(nPtNum = 0L; nPtNum < nPointCount; nPtNum++) { Point aPt(pO->GetPoint(nPtNum)); aXP[(sal_uInt16)nPtNum]=aPt; @@ -544,7 +544,7 @@ void SdrEditView::ImpCrookObj(SdrObject* pO, const Point& rRef, const Point& rRa case SDRCROOK_STRETCH: CrookStretchPoly(aXP,rRef,rRad,bVertical,rMarkRect); break; } - for(nPtNum = 0L; nPtNum < nPtAnz; nPtNum++) + for(nPtNum = 0L; nPtNum < nPointCount; nPtNum++) { // broadcasting could be optimized here, but for the // current two points of the measurement object, it's fine @@ -641,11 +641,11 @@ void SdrEditView::ImpDistortObj(SdrObject* pO, const Rectangle& rRef, const XPol else if(pO->IsPolyObj()) { // e. g. for the measurement object - sal_uInt32 nPtAnz(pO->GetPointCount()); - XPolygon aXP((sal_uInt16)nPtAnz); + sal_uInt32 nPointCount(pO->GetPointCount()); + XPolygon aXP((sal_uInt16)nPointCount); sal_uInt32 nPtNum; - for(nPtNum = 0L; nPtNum < nPtAnz; nPtNum++) + for(nPtNum = 0L; nPtNum < nPointCount; nPtNum++) { Point aPt(pO->GetPoint(nPtNum)); aXP[(sal_uInt16)nPtNum]=aPt; @@ -653,7 +653,7 @@ void SdrEditView::ImpDistortObj(SdrObject* pO, const Rectangle& rRef, const XPol aXP.Distort(rRef, rDistortedRect); - for(nPtNum = 0L; nPtNum < nPtAnz; nPtNum++) + for(nPtNum = 0L; nPtNum < nPointCount; nPtNum++) { // broadcasting could be optimized here, but for the // current two points of the measurement object it's fine |