[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra/text-annotation] libs/flake: Use ++it instead it++.
From:       Mojtaba Shahi Senobari <mojtaba.shahi3000 () gmail ! com>
Date:       2013-08-30 10:45:43
Message-ID: E1VFMD1-00046B-OS () scm ! kde ! org
[Download RAW message or body]

Git commit 726d9d308b435051bc297dee52a4dcc0d684672d by Mojtaba Shahi Senobari.
Committed on 30/08/2013 at 10:43.
Pushed by mojtabashahi into branch 'text-annotation'.

Use ++it instead it++.

M  +5    -5    libs/flake/KoAnnotationLayoutManager.cpp

http://commits.kde.org/calligra/726d9d308b435051bc297dee52a4dcc0d684672d

diff --git a/libs/flake/KoAnnotationLayoutManager.cpp b/libs/flake/KoAnnotationLayoutManager.cpp
index a99fc78..e28feb0 100644
--- a/libs/flake/KoAnnotationLayoutManager.cpp
+++ b/libs/flake/KoAnnotationLayoutManager.cpp
@@ -123,7 +123,7 @@ bool KoAnnotationLayoutManager::isAnnotationShape(KoShape *shape)
         if (shape == it->second) {
             return true;
         }
-        it++;
+        ++it;
     }
     return false;
 }
@@ -141,7 +141,7 @@ void KoAnnotationLayoutManager::registerAnnotationRefPosition(KoShape *annotatio
             d->annotationShapePositions.erase(it);
             break;
         }
-        it++;
+        ++it;
     }
     d->annotationShapePositions.append(QPair< QPointF, KoShape * >(pos, annotationShape));
     layoutAnnotationShapes();
@@ -158,7 +158,7 @@ void KoAnnotationLayoutManager::removeAnnotationShape(KoShape *annotationShape)
             d->annotationShapePositions.erase(it);
             break;
         }
-        it++;
+        ++it;
     }
     layoutAnnotationShapes();
     //Should update canvas.
@@ -173,7 +173,7 @@ void KoAnnotationLayoutManager::updateLayout(KoShape *shape)
             layoutAnnotationShapes();
             break;
         }
-        it++;
+        ++it;
     }
 }
 
@@ -195,6 +195,6 @@ void KoAnnotationLayoutManager::layoutAnnotationShapes()
         shape->update();
         currentY += shape->size().height() + shapeSpace;
 
-        it++;
+        ++it;
     }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic