[Libreoffice-commits] .: sw/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Jul 14 11:03:12 PDT 2012


 sw/source/filter/ww8/ww8par.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3b2bcb45376e8c1dcc2cc30621681d05d71acddb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Jul 14 20:02:17 2012 +0200

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

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 5c8abf3..3788906 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4615,7 +4615,7 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss, const SwPosition &rPos)
                 SwFlyFrmFmt* pPrevFlyFmt = 0;
                 // ggfs. Nachfolger ermitteln
                 SvxMSDffShapeTxBxSort::iterator tmpIter1 = it;
-                tmpIter1++;
+                ++tmpIter1;
                 if( tmpIter1 != aTxBxSort.end() )
                 {
                     SvxMSDffShapeOrder *pNextOrder = *tmpIter1;
@@ -4627,7 +4627,7 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss, const SwPosition &rPos)
                 if( it != aTxBxSort.begin() )
                 {
                     SvxMSDffShapeTxBxSort::iterator tmpIter2 = it;
-                    tmpIter2--;
+                    --tmpIter2;
                     SvxMSDffShapeOrder *pPrevOrder = *tmpIter2;
                     if ((0xFFFF0000 & pOrder->nTxBxComp)
                            == (0xFFFF0000 & pPrevOrder->nTxBxComp))


More information about the Libreoffice-commits mailing list