summaryrefslogtreecommitdiff
path: root/sax/source/tools/fastattribs.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-26 21:39:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-26 21:48:26 +0000
commit42cde3cd0aa53427275de1f181125911551e62d7 (patch)
tree53a2c3dcd426d6cb5db25bb5963e8b26c4627ebc /sax/source/tools/fastattribs.cxx
parent47c176eff33e66895b6f831e9ab35a29b79d04d8 (diff)
cppcheck: use prefix variant
Diffstat (limited to 'sax/source/tools/fastattribs.cxx')
-rw-r--r--sax/source/tools/fastattribs.cxx4
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 );