summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-path.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-10-18 05:54:57 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-10-18 05:54:57 +0000
commit48acbc6ed82b18fb07aa5e7964f7702428bade73 (patch)
treec54e5cb84bce1167d8f1baff59edb3b007dfd6f7 /src/svg/svg-path.cpp
parentpdf import. modify calculation of GradientTransform (Bug 530895) (diff)
downloadinkscape-48acbc6ed82b18fb07aa5e7964f7702428bade73.tar.gz
inkscape-48acbc6ed82b18fb07aa5e7964f7702428bade73.zip
cppcheck
(bzr r10681)
Diffstat (limited to 'src/svg/svg-path.cpp')
-rw-r--r--src/svg/svg-path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp
index 8781d75e6..f4278a5ac 100644
--- a/src/svg/svg-path.cpp
+++ b/src/svg/svg-path.cpp
@@ -117,7 +117,7 @@ static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve cons
static void sp_svg_write_path(Inkscape::SVG::PathString & str, Geom::Path const & p) {
str.moveTo( p.initialPoint()[0], p.initialPoint()[1] );
- for(Geom::Path::const_iterator cit = p.begin(); cit != p.end_open(); cit++) {
+ for(Geom::Path::const_iterator cit = p.begin(); cit != p.end_open(); ++cit) {
sp_svg_write_curve(str, &(*cit));
}
@@ -129,7 +129,7 @@ static void sp_svg_write_path(Inkscape::SVG::PathString & str, Geom::Path const
gchar * sp_svg_write_path(Geom::PathVector const &p) {
Inkscape::SVG::PathString str;
- for(Geom::PathVector::const_iterator pit = p.begin(); pit != p.end(); pit++) {
+ for(Geom::PathVector::const_iterator pit = p.begin(); pit != p.end(); ++pit) {
sp_svg_write_path(str, *pit);
}