diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-26 21:39:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-26 21:48:26 +0000 |
commit | 42cde3cd0aa53427275de1f181125911551e62d7 (patch) | |
tree | 53a2c3dcd426d6cb5db25bb5963e8b26c4627ebc /sax/source | |
parent | Merge branch 'libreoffice-3-3' (diff) | |
download | core-42cde3cd0aa53427275de1f181125911551e62d7.tar.gz core-42cde3cd0aa53427275de1f181125911551e62d7.zip |
cppcheck: use prefix variant
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/tools/fastattribs.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index ba9ee4dce7d3..53fc40350022 100644 --- a/sax/source/tools/fastattribs.cxx +++ b/sax/source/tools/fastattribs.cxx @@ -148,7 +148,7 @@ Sequence< Attribute > FastAttributeList::getUnknownAttributes( ) throw (Runtime { Sequence< Attribute > aSeq( maUnknownAttributes.size() ); Attribute* pAttr = aSeq.getArray(); - for( UnknownAttributeList::iterator attrIter = maUnknownAttributes.begin(); attrIter != maUnknownAttributes.end(); attrIter++ ) + for( UnknownAttributeList::iterator attrIter = maUnknownAttributes.begin(); attrIter != maUnknownAttributes.end(); ++attrIter ) (*attrIter).FillAttribute( pAttr++ ); return aSeq; } @@ -157,7 +157,7 @@ Sequence< FastAttribute > FastAttributeList::getFastAttributes( ) throw (Runtim Sequence< FastAttribute > aSeq( maAttributes.size() ); FastAttribute* pAttr = aSeq.getArray(); FastAttributeMap::iterator fastAttrIter = maAttributes.begin(); - for(; fastAttrIter != maAttributes.end(); fastAttrIter++ ) + for(; fastAttrIter != maAttributes.end(); ++fastAttrIter ) { pAttr->Token = fastAttrIter->first; pAttr->Value = OStringToOUString( fastAttrIter->second, RTL_TEXTENCODING_UTF8 ); |