summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-12-08 01:24:07 +0000
committerjabiertxof <jabier.arraiza@marker.es>2015-12-08 01:24:07 +0000
commit08a6877d14c0b90e7fe661383f15f20a2a03bd2c (patch)
tree854008faa6cdc3a0546b2a7d84f6505fa1058f76 /src/live_effects
parentAdd rect to SP Control point on locked guides (diff)
parentstatic code analysis (diff)
downloadinkscape-08a6877d14c0b90e7fe661383f15f20a2a03bd2c.tar.gz
inkscape-08a6877d14c0b90e7fe661383f15f20a2a03bd2c.zip
update to trunk
(bzr r14500.1.14)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-knot.cpp2
-rw-r--r--src/live_effects/parameter/originalpatharray.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp
index c3000fe0d..bf84e645d 100644
--- a/src/live_effects/lpe-knot.cpp
+++ b/src/live_effects/lpe-knot.cpp
@@ -507,7 +507,7 @@ static void
collectPathsAndWidths (SPLPEItem const *lpeitem, Geom::PathVector &paths, std::vector<double> &stroke_widths){
if (SP_IS_GROUP(lpeitem)) {
std::vector<SPItem*> item_list = sp_item_group_item_list(SP_GROUP(lpeitem));
- for ( std::vector<SPItem*>::const_iterator iter = item_list.begin(); iter != item_list.end(); iter++) {
+ for ( std::vector<SPItem*>::const_iterator iter = item_list.begin(); iter != item_list.end(); ++iter) {
SPObject *subitem = *iter;
if (SP_IS_LPE_ITEM(subitem)) {
collectPathsAndWidths(SP_LPE_ITEM(subitem), paths, stroke_widths);
diff --git a/src/live_effects/parameter/originalpatharray.cpp b/src/live_effects/parameter/originalpatharray.cpp
index 9e03e2c02..7e3a6f5fe 100644
--- a/src/live_effects/parameter/originalpatharray.cpp
+++ b/src/live_effects/parameter/originalpatharray.cpp
@@ -245,7 +245,7 @@ void OriginalPathArrayParam::on_down_button_click()
if (*iter == row[_model->_colObject]) {
std::vector<PathAndDirection*>::iterator niter = _vector.erase(iter);
if (niter != _vector.end()) {
- niter++;
+ ++niter;
i++;
}
_vector.insert(niter, row[_model->_colObject]);