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

Julien Nabet serval2412 at yahoo.fr
Sun Mar 24 08:54:11 PDT 2013


 sw/source/filter/ww8/ww8par.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d37bc0b2bb8ac4f460fe3799efa70ed29fdd69cb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Mar 24 16:51:06 2013 +0100

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

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 840f2f9..621bdbb 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -3423,7 +3423,7 @@ bool SwWW8ImplReader::IsParaEndInCPs(sal_Int32 nStart, sal_Int32 nEnd,bool bSdOD
     if (nStart == -1 || nEnd == -1 || nEnd < nStart )
         return false;
 
-    for (cp_vector::const_reverse_iterator aItr = maEndParaPos.rbegin(); aItr!= maEndParaPos.rend(); aItr++)
+    for (cp_vector::const_reverse_iterator aItr = maEndParaPos.rbegin(); aItr!= maEndParaPos.rend(); ++aItr)
     {
         //Revised 2012.8.16,to the 0x0D,the attribute will have two situations
         //*********within***********exact******//


More information about the Libreoffice-commits mailing list