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/svdhlpln.cxx | |
parent | 4870d2f7b8a642ee4152a4bb1022a9d099afe304 (diff) |
svx: nAnz -> nCount
Change-Id: I88bff880a5fb27b259b66984a0637fe7d2ab51f6
Diffstat (limited to 'svx/source/svdraw/svdhlpln.cxx')
-rw-r--r-- | svx/source/svdraw/svdhlpln.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdhlpln.cxx b/svx/source/svdraw/svdhlpln.cxx index 2c366e7b4e89..0aa9fb1261a3 100644 --- a/svx/source/svdraw/svdhlpln.cxx +++ b/svx/source/svdraw/svdhlpln.cxx @@ -76,8 +76,8 @@ Rectangle SdrHelpLine::GetBoundRect(const OutputDevice& rOut) const void SdrHelpLineList::Clear() { - sal_uInt16 nAnz=GetCount(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=GetCount(); + for (sal_uInt16 i=0; i<nCount; i++) { delete GetObject(i); } aList.clear(); @@ -86,8 +86,8 @@ void SdrHelpLineList::Clear() void SdrHelpLineList::operator=(const SdrHelpLineList& rSrcList) { Clear(); - sal_uInt16 nAnz=rSrcList.GetCount(); - for (sal_uInt16 i=0; i<nAnz; i++) { + sal_uInt16 nCount=rSrcList.GetCount(); + for (sal_uInt16 i=0; i<nCount; i++) { Insert(rSrcList[i]); } } @@ -95,10 +95,10 @@ void SdrHelpLineList::operator=(const SdrHelpLineList& rSrcList) bool SdrHelpLineList::operator==(const SdrHelpLineList& rSrcList) const { bool bEqual = false; - sal_uInt16 nAnz=GetCount(); - if (nAnz==rSrcList.GetCount()) { + sal_uInt16 nCount=GetCount(); + if (nCount==rSrcList.GetCount()) { bEqual = true; - for (sal_uInt16 i=0; i<nAnz && bEqual; i++) { + for (sal_uInt16 i=0; i<nCount && bEqual; i++) { if (*GetObject(i)!=*rSrcList.GetObject(i)) { bEqual = false; } @@ -109,8 +109,8 @@ bool SdrHelpLineList::operator==(const SdrHelpLineList& rSrcList) const sal_uInt16 SdrHelpLineList::HitTest(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const { - sal_uInt16 nAnz=GetCount(); - for (sal_uInt16 i=nAnz; i>0;) { + sal_uInt16 nCount=GetCount(); + for (sal_uInt16 i=nCount; i>0;) { i--; if (GetObject(i)->IsHit(rPnt,nTolLog,rOut)) return i; } |