[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 1 13:23:12 PST 2011


 sw/source/filter/ww8/ww8par5.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d1db9d85e93c1fed0b6f8a8e322564d5d2536074
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 21:22:33 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 8076326..18f52cc 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -3049,7 +3049,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, String& rStr )
                                     {
                                         if (TOKEN_TAB_STOP == ePrevType)
                                         {
-                                            aIt--;
+                                            --aIt;
 
                                             if(0x09 == sDelimiter.GetChar(0))
                                                 aIt->eTabAlign = SVX_TAB_ADJUST_END;
@@ -3174,7 +3174,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, String& rStr )
                                     {
                                         if (TOKEN_TAB_STOP == ePrevType)
                                         {
-                                            aIt--;
+                                            --aIt;
 
                                             SwFormToken aToken(TOKEN_TEXT);
                                             aToken.sText = sDelimiter;
@@ -3229,7 +3229,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, String& rStr )
                                 if (eType == TOKEN_PAGE_NUMS)
                                 {
                                     aIt = aPattern.erase(aIt);
-                                    aIt--;
+                                    --aIt;
                                     if (
                                          TOKEN_TAB_STOP ==
                                          aIt->eTokenType


More information about the Libreoffice-commits mailing list