diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-07 10:57:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-07 10:57:01 +0000 |
commit | 89e9bdb508104a2feb0a5b84183c56ce80e483e4 (patch) | |
tree | 26eb5664c7230a192c10f97f96e66f67354532b8 /sax | |
parent | 8ff6884d511c8b3b697a6813a4fea598e1906f57 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'sax')
-rw-r--r-- | sax/test/saxdemo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx index 2c145b999683..6aedffcb42b6 100644 --- a/sax/test/saxdemo.cxx +++ b/sax/test/saxdemo.cxx @@ -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; } |