summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 21:02:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 21:02:38 +0000
commit5f989eb0808eeceb8a4a73ad18de59e2bdcb1d74 (patch)
tree87b3887ec3081db8ededf88a2006b173c4ecab62 /jvmfwk/plugins
parent1880bb128626b24703e9382542bdbb7af63d028b (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'jvmfwk/plugins')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
index 4fb35d49c..1cc5ae308 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
@@ -104,7 +104,7 @@ bool GnuInfo::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))
{
@@ -171,7 +171,7 @@ bool GnuInfo::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;
@@ -188,7 +188,7 @@ bool GnuInfo::initialize(vector<pair<OUString, OUString> > props)
if (!bRt)
{
m_sHome = m_sJavaHome;
- 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;
@@ -207,7 +207,7 @@ bool GnuInfo::initialize(vector<pair<OUString, OUString> > props)
if (!bRt && m_sJavaHome != sJavaLibraryPath)
{
m_sHome = sJavaLibraryPath;
- 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;
@@ -227,7 +227,7 @@ bool GnuInfo::initialize(vector<pair<OUString, OUString> > props)
if (!bRt && m_sJavaHome != rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///usr/lib")))
{
m_sHome = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///usr/lib64"));
- 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;
@@ -256,7 +256,7 @@ bool GnuInfo::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