From 5cbb76d6c4e4d8de7304e75ca922d92320954d5a Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 11 Aug 2011 23:21:58 +0200 Subject: Some cppcheck cleaning --- package/source/xstor/owriteablestream.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/source') diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index d4af5eefad66..56b308b60478 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -73,7 +73,7 @@ bool PackageEncryptionDatasEqual( const ::comphelper::SequenceAsHashMap& aHash1, bool bResult = ( aHash1.size() && aHash1.size() == aHash2.size() ); for ( ::comphelper::SequenceAsHashMap::const_iterator aIter = aHash1.begin(); bResult && aIter != aHash1.end(); - aIter++ ) + ++aIter ) { uno::Sequence< sal_Int8 > aKey1; bResult = ( ( aIter->second >>= aKey1 ) && aKey1.getLength() ); @@ -540,7 +540,7 @@ void OWriteStream_Impl::DisposeWrappers() if ( !m_aInputStreamsList.empty() ) { for ( InputStreamsList_Impl::iterator pStreamIter = m_aInputStreamsList.begin(); - pStreamIter != m_aInputStreamsList.end(); pStreamIter++ ) + pStreamIter != m_aInputStreamsList.end(); ++pStreamIter ) { if ( (*pStreamIter) ) { -- cgit