jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 6 +++--- vcl/opengl/program.cxx | 2 +- vcl/source/opengl/OpenGLContext.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit 5a4c549d3252ef371656cbb5dedeb8c9c5c60994 Author: Julien Nabet <serval2...@yahoo.fr> Date: Thu Dec 18 21:13:39 2014 +0100 Some cppcheck cleanings: Prefer prefix ++/-- operators for non-primitive types Change-Id: I899164412ad90653b4228423283f9fbd4cb5fccc diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 2ef2429..eb43be0 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)) { diff --git a/vcl/opengl/program.cxx b/vcl/opengl/program.cxx index 46552fd..434b724 100644 --- a/vcl/opengl/program.cxx +++ b/vcl/opengl/program.cxx @@ -57,7 +57,7 @@ bool OpenGLProgram::Clean() { glActiveTexture( GL_TEXTURE0 + nIndex-- ); it->Unbind(); - it++; + ++it; } maTextures.clear(); } diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 04e19ba..182a2e9 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -1168,7 +1168,7 @@ void OpenGLContext::reset() while( it != maPrograms.end() ) { delete it->second; - it++; + ++it; } maPrograms.clear(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits