From 48acbc6ed82b18fb07aa5e7964f7702428bade73 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Tue, 18 Oct 2011 07:54:57 +0200 Subject: cppcheck (bzr r10681) --- src/svg/svg-path.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/svg/svg-path.cpp') 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); } -- cgit v1.2.3