From 5bbb8daba0a5d5728917ab1481392ff2947a5519 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 1 Jan 2011 21:02:08 +0000 Subject: cppcheck: prefer prefix variant --- jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx index fc11a040dce0..f4e6ecfa9735 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx @@ -116,7 +116,7 @@ bool VendorBase::initialize(vector > props) bool bAccess = false; typedef vector >::const_iterator it_prop; - for (it_prop i = props.begin(); i != props.end(); i++) + for (it_prop i = props.begin(); i != props.end(); ++i) { if(! bVendor && sVendorProperty.equals(i->first)) { @@ -169,7 +169,7 @@ bool VendorBase::initialize(vector > props) bool bRt = false; typedef vector::const_iterator i_path; - for(i_path ip = libpaths.begin(); ip != libpaths.end(); ip++) + for(i_path ip = libpaths.begin(); ip != libpaths.end(); ++ip) { //Construct an absolute path to the possible runtime OUString usRt= m_sHome + *ip; @@ -195,7 +195,7 @@ bool VendorBase::initialize(vector > props) OUString sPathSep= OUString::createFromAscii(arSep); bool bLdPath = true; int c = 0; - for(i_path il = ld_paths.begin(); il != ld_paths.end(); il ++, c++) + for(i_path il = ld_paths.begin(); il != ld_paths.end(); ++il, ++c) { OUString usAbsUrl= m_sHome + *il; // convert to system path -- cgit