summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdibrow.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-08 10:54:51 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-08 12:31:52 +0100
commit3e9c65a714d9ec5136dc141adc101f34ff7092f6 (patch)
tree980f5a5e4b2122383c5aeb24278630c7acfd38d6 /svx/source/svdraw/svdibrow.cxx
parent4870d2f7b8a642ee4152a4bb1022a9d099afe304 (diff)
svx: nAnz -> nCount
Change-Id: I88bff880a5fb27b259b66984a0637fe7d2ab51f6
Diffstat (limited to 'svx/source/svdraw/svdibrow.cxx')
-rw-r--r--svx/source/svdraw/svdibrow.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 4a141bf9b416..581fc860206a 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -277,8 +277,8 @@ void _SdrItemBrowserControl::ImpCtor()
void _SdrItemBrowserControl::Clear()
{
- sal_uIntPtr nAnz=aList.size();
- for (sal_uIntPtr nNum=0; nNum<nAnz; nNum++) {
+ sal_uIntPtr nCount=aList.size();
+ for (sal_uIntPtr nNum=0; nNum<nCount; nNum++) {
delete ImpGetEntry(nNum);
}
aList.clear();
@@ -466,9 +466,9 @@ void _SdrItemBrowserControl::ImpRestoreWhich()
{
if (nLastWhich!=0) {
bool bFnd = false;
- sal_uIntPtr nAnz=aList.size();
+ sal_uIntPtr nCount=aList.size();
sal_uIntPtr nNum;
- for (nNum=0; nNum<nAnz && !bFnd; nNum++) {
+ for (nNum=0; nNum<nCount && !bFnd; nNum++) {
ImpItemListRow* pEntry=ImpGetEntry(nNum);
if (!pEntry->bComment) {
sal_uInt16 nWh=pEntry->nWhichId;
@@ -837,10 +837,10 @@ bool IsItemIneffective(sal_uInt16 nWhich, const SfxItemSet* pSet, sal_uInt16& rI
if (eKind!=SDREDGE_ORTHOLINES && eKind!=SDREDGE_BEZIER) return true;
}
if (ImpGetItem(*pSet,SDRATTR_EDGELINEDELTAANZ,pItem)) {
- sal_uInt16 nAnz=static_cast<const SdrEdgeLineDeltaAnzItem*>(pItem)->GetValue();
- if (nAnz==0) return true;
- if (nAnz==1 && nWhich>SDRATTR_EDGELINE1DELTA) return true;
- if (nAnz==2 && nWhich>SDRATTR_EDGELINE2DELTA) return true;
+ sal_uInt16 nCount=static_cast<const SdrEdgeLineDeltaAnzItem*>(pItem)->GetValue();
+ if (nCount==0) return true;
+ if (nCount==1 && nWhich>SDRATTR_EDGELINE1DELTA) return true;
+ if (nCount==2 && nWhich>SDRATTR_EDGELINE2DELTA) return true;
}
} break;