cppcheck: prefer prefix variant
This commit is contained in:
parent
8ff6884d51
commit
89e9bdb508
1 changed files with 2 additions and 2 deletions
|
@ -357,7 +357,7 @@ OUString AttributeListImpl::getTypeByName( const OUString& sName ) throw (Runti
|
|||
{
|
||||
vector<struct TagAttribute>::iterator ii = m_pImpl->vecAttribute.begin();
|
||||
|
||||
for( ; ii != m_pImpl->vecAttribute.end() ; ii ++ ) {
|
||||
for( ; ii != m_pImpl->vecAttribute.end() ; ++ii ) {
|
||||
if( (*ii).sName == sName ) {
|
||||
return (*ii).sType;
|
||||
}
|
||||
|
@ -369,7 +369,7 @@ OUString AttributeListImpl::getValueByName(const OUString& sName) throw (Runtim
|
|||
{
|
||||
vector<struct TagAttribute>::iterator ii = m_pImpl->vecAttribute.begin();
|
||||
|
||||
for( ; ii != m_pImpl->vecAttribute.end() ; ii ++ ) {
|
||||
for( ; ii != m_pImpl->vecAttribute.end() ; ++ii ) {
|
||||
if( (*ii).sName == sName ) {
|
||||
return (*ii).sValue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue