summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/mesh-tool.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2016-02-22 19:49:03 +0000
committerKris De Gussem <Kris.De.Gussem@hotmail.com>2016-02-22 19:49:03 +0000
commite16f1a053c67a8c42172f5186f247f11c3b6e777 (patch)
treebfd9a3b5794ad3a3002a41eb41ab84e7acd840f6 /src/ui/tools/mesh-tool.cpp
parentApply from patch from houz (Fixes color profile name mangling) (diff)
downloadinkscape-e16f1a053c67a8c42172f5186f247f11c3b6e777.tar.gz
inkscape-e16f1a053c67a8c42172f5186f247f11c3b6e777.zip
static code analysis
(bzr r14664)
Diffstat (limited to 'src/ui/tools/mesh-tool.cpp')
-rw-r--r--src/ui/tools/mesh-tool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/tools/mesh-tool.cpp b/src/ui/tools/mesh-tool.cpp
index 7db4e09d8..47927667c 100644
--- a/src/ui/tools/mesh-tool.cpp
+++ b/src/ui/tools/mesh-tool.cpp
@@ -458,7 +458,7 @@ bool MeshTool::root_handler(GdkEvent* event) {
SPCtrlCurve *line = NULL;
if (! drag->lines.empty()) {
- for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() && (!over_line); l++) {
+ for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() && (!over_line); ++l) {
line = (SPCtrlCurve*) (*l);
over_line |= sp_mesh_context_is_over_line (this, (SPItem*) line, Geom::Point(event->motion.x, event->motion.y));
}
@@ -594,7 +594,7 @@ bool MeshTool::root_handler(GdkEvent* event) {
bool over_line = false;
if (!drag->lines.empty()) {
- for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() ; l++) {
+ for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() ; ++l) {
over_line |= sp_mesh_context_is_over_line (this, (SPItem*)(*l), Geom::Point(event->motion.x, event->motion.y));
}
}
@@ -625,7 +625,7 @@ bool MeshTool::root_handler(GdkEvent* event) {
SPCtrlLine *line = NULL;
if (!drag->lines.empty()) {
- for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() && (!over_line); l++) {
+ for (std::vector<SPCtrlLine *>::const_iterator l = drag->lines.begin(); l != drag->lines.end() && (!over_line); ++l) {
line = (SPCtrlLine*)(*l);
over_line = sp_mesh_context_is_over_line (this, (SPItem*) line, Geom::Point(event->motion.x, event->motion.y));