diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-12-18 21:13:39 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-12-18 21:14:10 +0100 |
commit | 5a4c549d3252ef371656cbb5dedeb8c9c5c60994 (patch) | |
tree | 90f06a88eaadda42bc2a78bf0e53b3c4b459ca62 /jvmfwk | |
parent | f2ac9fab2677a6a718f251baef75d3cae96d1f01 (diff) |
Some cppcheck cleanings: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I899164412ad90653b4228423283f9fbd4cb5fccc
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 2ef242964ec8..eb43be025176 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -595,7 +595,7 @@ void addJavaInfoFromWinReg( // create impl objects typedef std::vector<OUString>::iterator ItHome; for(ItHome it_home= vecJavaHome.begin(); it_home != vecJavaHome.end(); - it_home++) + ++it_home) { getAndAddJREInfoByPath(*it_home, allInfos, addedInfos); } @@ -606,7 +606,7 @@ void addJavaInfoFromWinReg( { typedef std::vector<OUString>::iterator ItHome; for(ItHome it_home= vecJavaHome.begin(); it_home != vecJavaHome.end(); - it_home++) + ++it_home) { getAndAddJREInfoByPath(*it_home, allInfos, addedInfos); } @@ -657,7 +657,7 @@ bool getJavaInfoFromRegistry(const wchar_t* szRegKey, //iterate over the vector with java home strings typedef vector<OUString>::iterator ItHome; for(ItHome itHome= vecJavaHome.begin(); - itHome != vecJavaHome.end(); itHome++) + itHome != vecJavaHome.end(); ++itHome) { if(usHomeUrl.equals(*itHome)) { |