summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2015-11-13 17:53:22 +0000
committerKris De Gussem <Kris.De.Gussem@hotmail.com>2015-11-13 17:53:22 +0000
commit7c7b311cb7ff307a4e865341c3b78ec669e73fc7 (patch)
tree75a2dc58abd1e56d76a0c7d9f22c2d6d37d0eddc /src/object-snapper.cpp
parentFix a bug on bspline, duplicating end nodes (diff)
downloadinkscape-7c7b311cb7ff307a4e865341c3b78ec669e73fc7.tar.gz
inkscape-7c7b311cb7ff307a4e865341c3b78ec669e73fc7.zip
static code analysis
(bzr r14463)
Diffstat (limited to '')
-rw-r--r--src/object-snapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 7302f9de6..5b7874c61 100644
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -239,7 +239,7 @@ void Inkscape::ObjectSnapper::_collectNodes(SnapSourceType const &t,
bool old_pref2 = _snapmanager->snapprefs.isTargetSnappable(SNAPTARGET_ROTATION_CENTER);
if (old_pref2) {
std::vector<SPItem*> rotationSource=_snapmanager->getRotationCenterSource();
- for ( std::vector<SPItem*>::const_iterator itemlist = rotationSource.begin(); itemlist != rotationSource.end(); itemlist++) {
+ for ( std::vector<SPItem*>::const_iterator itemlist = rotationSource.begin(); itemlist != rotationSource.end(); ++itemlist) {
if ((*i).item == *itemlist) {
// don't snap to this item's rotation center
_snapmanager->snapprefs.setTargetSnappable(SNAPTARGET_ROTATION_CENTER, false);