[Libreoffice-commits] core.git: sc/source

Julien Nabet serval2412 at yahoo.fr
Sat Nov 16 01:47:24 PST 2013


 sc/source/core/opencl/formulagroupcl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f2884fd3765e6e527d12543070c1a882052657df
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Nov 16 10:46:50 2013 +0100

    cppcheck: Prefer prefix ++/-- operators for non-primitive types
    
    Change-Id: I453118a27de9484f318f8988a41cda1e809db1a7

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 23b7a71..c795a65 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -2025,13 +2025,13 @@ public:
         decl << publicFunc;
         DK->DumpInlineFun(inlineDecl,inlineFun);
         for(std::set<std::string>::iterator set_iter=inlineDecl.begin();
-                                         set_iter!=inlineDecl.end();set_iter++)
+                                         set_iter!=inlineDecl.end();++set_iter)
         {
             decl<<*set_iter;
         }
 
         for(std::set<std::string>::iterator set_iter=inlineFun.begin();
-                                         set_iter!=inlineFun.end();set_iter++)
+                                         set_iter!=inlineFun.end();++set_iter)
         {
             decl<<*set_iter;
         }


More information about the Libreoffice-commits mailing list