summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 21:33:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 21:33:31 +0000
commit73204a0ab60ed5cdcfe0e0a2fd80202e54a98e1d (patch)
treedb29474cf265ef1a8164c424b1d6e3d11222d6c0 /toolkit/source
parentf060765211c027bae264f256f7cb072dcc8c0091 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/layout/core/proplist.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/layout/core/proplist.cxx b/toolkit/source/layout/core/proplist.cxx
index f04350d01362..270fea5c81ff 100644
--- a/toolkit/source/layout/core/proplist.cxx
+++ b/toolkit/source/layout/core/proplist.cxx
@@ -193,7 +193,7 @@ uno::Any anyFromString( OUString const& value, uno::Type const& type )
uno::Sequence< OUString > seq( values.size() );
i = 0;
for ( std::list< OUString >::const_iterator it = values.begin();
- it != values.end(); it++, i++ )
+ it != values.end(); it++, ++i )
seq[ i ] = *it;
return uno::makeAny( seq );
@@ -248,7 +248,7 @@ setProperties( uno::Reference< uno::XInterface > const& xPeer,
{
DBG_ERROR( "Error: setProperties - bad handle ignoring props:\n" );
for ( PropList::const_iterator it = rProps.begin(); it != rProps.end();
- it++ )
+ ++it )
{
DBG_ERROR2( "%s=%s\n", OUSTRING_CSTR( it->first ), OUSTRING_CSTR( it->second ) );
}
@@ -256,7 +256,7 @@ setProperties( uno::Reference< uno::XInterface > const& xPeer,
}
for ( PropList::const_iterator it = rProps.begin(); it != rProps.end();
- it++ )
+ ++it )
setProperty( xPeer, it->first, it->second );
}
@@ -373,7 +373,7 @@ findAndRemove( const char *pAttr, PropList &rProps, OUString &rValue )
PropList::iterator it;
OUString aName = OUString::createFromAscii( pAttr );
- for ( it = rProps.begin(); it != rProps.end(); it++ )
+ for ( it = rProps.begin(); it != rProps.end(); ++it )
{
if ( it->first.equalsIgnoreAsciiCase( aName )
|| it->first.equalsIgnoreAsciiCase( OUString(RTL_CONSTASCII_USTRINGPARAM ("_")) + aName ) )