summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 16:33:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 16:33:02 +0000
commit932459c1a1f1d182c4ddbd7a002e1862e50eb2bb (patch)
tree305a6239f40f2063eed50059e922077a5972585f
parent4841424c750ecc21d50b37eb7168056e58e82561 (diff)
cppcheck: prefer prefix variant
-rw-r--r--sot/source/sdstor/storage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index e9ea19bd3ffe..a3086a2798fb 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -767,7 +767,7 @@ uno::Reference< embed::XStorage > SotStorage::GetUNOAPIDuplicate( const String&
return xResult;
for ( UNOStorageHolderList::iterator aIter = pUNOStorageHolderList->begin();
- aIter != pUNOStorageHolderList->end(); aIter++ )
+ aIter != pUNOStorageHolderList->end(); ++aIter )
if ( (*aIter) && (*aIter)->GetStorageName().Equals( rEleName ) )
{
// the storage is already in use