diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 20:54:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 20:54:36 +0000 |
commit | 355a9a5c56676c5b3d1868373c06346f00fc1ff2 (patch) | |
tree | e446c47972c4628ed67003f2770e4e80a13ef509 /jvmfwk/source/elements.cxx | |
parent | d0b04ecea7bd6ffa946bd745b89664791d87d667 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'jvmfwk/source/elements.cxx')
-rw-r--r-- | jvmfwk/source/elements.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx index c6ac2019484c..c397362e9f71 100644 --- a/jvmfwk/source/elements.cxx +++ b/jvmfwk/source/elements.cxx @@ -192,7 +192,7 @@ rtl_uString** VersionInfo::getExcludeVersions() int j=0; typedef std::vector<rtl::OUString>::const_iterator it; for (it i = vecExcludeVersions.begin(); i != vecExcludeVersions.end(); - i++, j++) + ++i, ++j) { arVersions[j] = vecExcludeVersions[j].pData; } @@ -530,7 +530,7 @@ void NodeJava::write() const } typedef std::vector<rtl::OUString>::const_iterator cit; - for (cit i = m_vmParameters->begin(); i != m_vmParameters->end(); i++) + for (cit i = m_vmParameters->begin(); i != m_vmParameters->end(); ++i) { xmlNewTextChild(vmParameters, NULL, (xmlChar*) "param", CXmlCharPtr(*i)); @@ -571,7 +571,7 @@ void NodeJava::write() const } typedef std::vector<rtl::OUString>::const_iterator cit; - for (cit i = m_JRELocations->begin(); i != m_JRELocations->end(); i++) + for (cit i = m_JRELocations->begin(); i != m_JRELocations->end(); ++i) { xmlNewTextChild(jreLocationsNode, NULL, (xmlChar*) "location", CXmlCharPtr(*i)); @@ -1206,7 +1206,7 @@ void MergedSettings::getVmParametersArray( int j=0; typedef std::vector<rtl::OUString>::const_iterator it; for (it i = m_vmParams.begin(); i != m_vmParams.end(); - i++, j++) + ++i, ++j) { (*parParams)[j] = i->pData; rtl_uString_acquire(i->pData); @@ -1228,7 +1228,7 @@ void MergedSettings::getJRELocations( int j=0; typedef std::vector<rtl::OUString>::const_iterator it; for (it i = m_JRELocations.begin(); i != m_JRELocations.end(); - i++, j++) + ++i, ++j) { (*parLocations)[j] = i->pData; rtl_uString_acquire(i->pData); |