[Libreoffice-commits] .: jvmfwk/plugins
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Jan 1 13:02:34 PST 2011
jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 1d05063792f4468aeb44640d98521ed00fef3a69
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 1 21:02:08 2011 +0000
cppcheck: prefer prefix variant
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
index f3ca071..487eacf 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
More information about the Libreoffice-commits
mailing list