summaryrefslogtreecommitdiffstats
path: root/src/gradient-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-11-14 17:32:46 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-11-14 17:32:46 +0000
commit2e2690f32680b388bee9c629ad832e9d32c28016 (patch)
tree83bd548194d712639cd60a3bd63d83db11c5da43 /src/gradient-chemistry.cpp
parentadding default width (diff)
parentFix erase mode in no overlap mode, pointed by Ivan Louette (diff)
downloadinkscape-2e2690f32680b388bee9c629ad832e9d32c28016.tar.gz
inkscape-2e2690f32680b388bee9c629ad832e9d32c28016.zip
update to trunk
(bzr r14422.3.9)
Diffstat (limited to 'src/gradient-chemistry.cpp')
-rw-r--r--src/gradient-chemistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-chemistry.cpp b/src/gradient-chemistry.cpp
index 409e9f0e6..886bf484d 100644
--- a/src/gradient-chemistry.cpp
+++ b/src/gradient-chemistry.cpp
@@ -1571,7 +1571,7 @@ void sp_gradient_invert_selected_gradients(SPDesktop *desktop, Inkscape::PaintTa
Inkscape::Selection *selection = desktop->getSelection();
const std::vector<SPItem*> list=selection->itemList();
- for (std::vector<SPItem*>::const_iterator i = list.begin(); i != list.end(); i++) {
+ for (std::vector<SPItem*>::const_iterator i = list.begin(); i != list.end(); ++i) {
sp_item_gradient_invert_vector_color(*i, fill_or_stroke);
}
@@ -1596,7 +1596,7 @@ void sp_gradient_reverse_selected_gradients(SPDesktop *desktop)
drag->selected_reverse_vector();
} else { // If no drag or no dragger selected, act on selection (both fill and stroke gradients)
const std::vector<SPItem*> list=selection->itemList();
- for (std::vector<SPItem*>::const_iterator i = list.begin(); i != list.end(); i++) {
+ for (std::vector<SPItem*>::const_iterator i = list.begin(); i != list.end(); ++i) {
sp_item_gradient_reverse_vector(*i, Inkscape::FOR_FILL);
sp_item_gradient_reverse_vector(*i, Inkscape::FOR_STROKE);
}