prefer prefix ++/-- operators

This commit is contained in:
Kayo Hamid 2011-04-19 10:29:42 +01:00 committed by Caolán McNamara
parent 8af99e5768
commit 26c8682631
3 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ MasterPropertySet::~MasterPropertySet()
while (aIter != aEnd )
{
delete (*aIter).second;
aIter++;
++aIter;
}
}

View file

@ -63,7 +63,7 @@ MasterPropertySetInfo::~MasterPropertySetInfo()
while (aIter != aEnd )
{
delete (*aIter).second;
aIter++;
++aIter;
}
}

View file

@ -394,7 +394,7 @@ long BorderWidthImpl::GuessWidth( long nLine1, long nLine2, long nGap )
while ( pIt != aToCompare.end() && !bInvalid )
{
bInvalid = ( nWidth != *pIt );
pIt++;
++pIt;
}
if ( bInvalid )
nWidth = 0.0;