summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-pts2ellipse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-pts2ellipse.cpp')
-rw-r--r--src/live_effects/lpe-pts2ellipse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/lpe-pts2ellipse.cpp b/src/live_effects/lpe-pts2ellipse.cpp
index e1c87f2dd..0d3f70314 100644
--- a/src/live_effects/lpe-pts2ellipse.cpp
+++ b/src/live_effects/lpe-pts2ellipse.cpp
@@ -261,11 +261,11 @@ LPEPts2Ellipse::doEffect_path (Geom::PathVector const & path_in)
// from: extension/internal/odf.cpp
// get all points
std::vector<Point> pts;
- for(PathVector::const_iterator pit = path_in.begin(); pit!= path_in.end(); ++pit) {
+ for(const auto & pit : path_in) {
// extract first point of this path
- pts.push_back(pit->initialPoint());
+ pts.push_back(pit.initialPoint());
// iterate over all curves
- for (Geom::Path::const_iterator cit = pit->begin(); cit != pit->end(); ++cit) {
+ for (Geom::Path::const_iterator cit = pit.begin(); cit != pit.end(); ++cit) {
pts.push_back(cit->finalPoint());
}
}