summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-26 21:40:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-26 21:46:57 +0000
commitb89fc8c475225c4ad4f01f5614e5283beefa8b74 (patch)
tree8d23acaa139f2738abe13ffecd266f64195bfc96 /package/source
parent9569f2026a1c285a583d921059d6dbd19e411b04 (diff)
cppcheck: use prefix variant
Diffstat (limited to 'package/source')
-rw-r--r--package/source/zippackage/ZipPackage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index e445b9ea0bb1..b8072bf12bba 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -1017,7 +1017,7 @@ void ZipPackage::WriteManifest( ZipOutputStream& aZipOut, const vector< Sequence
Sequence < PropertyValue > * pSequence = aManifestSequence.getArray();
for (vector < Sequence < PropertyValue > >::const_iterator aIter = aManList.begin(), aEnd = aManList.end();
aIter != aEnd;
- aIter++, pSequence++)
+ ++aIter, ++pSequence)
*pSequence= (*aIter);
xWriter->writeManifestSequence ( xManOutStream, aManifestSequence );
@@ -1063,7 +1063,7 @@ void ZipPackage::WriteContentTypes( ZipOutputStream& aZipOut, const vector< Sequ
for ( vector< uno::Sequence< beans::PropertyValue > >::const_iterator aIter = aManList.begin(),
aEnd = aManList.end();
aIter != aEnd;
- aIter++)
+ ++aIter)
{
::rtl::OUString aPath;
::rtl::OUString aType;