diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:02:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:02:08 +0000 |
commit | 1d05063792f4468aeb44640d98521ed00fef3a69 (patch) | |
tree | 95b9c318798b5c5fcbe16d6054154e9b66dff72e /jvmfwk | |
parent | fb53ebff1e9fce34440c045b68df962fca74332c (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx index f3ca071b6..487eacf1f 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx @@ -116,7 +116,7 @@ bool VendorBase::initialize(vector<pair<OUString, OUString> > props) bool bAccess = false; typedef vector<pair<OUString, OUString> >::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<pair<OUString, OUString> > props) bool bRt = false; typedef vector<OUString>::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<pair<OUString, OUString> > 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 |