summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-constructgrid.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-04 20:58:07 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-04 20:58:07 +0000
commitaac50b61c17409d48726e226f9530b894b3ad94e (patch)
tree876890edd5245cd966ff23aeba58b89cfa21132e /src/live_effects/lpe-constructgrid.cpp
parentupdate to trunk (diff)
parentTranslation. Danish translation update. (diff)
downloadinkscape-aac50b61c17409d48726e226f9530b894b3ad94e.tar.gz
inkscape-aac50b61c17409d48726e226f9530b894b3ad94e.zip
update to trunk
(bzr r13645.1.99)
Diffstat (limited to 'src/live_effects/lpe-constructgrid.cpp')
-rw-r--r--src/live_effects/lpe-constructgrid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/lpe-constructgrid.cpp b/src/live_effects/lpe-constructgrid.cpp
index fbf9faf56..b1e0edaac 100644
--- a/src/live_effects/lpe-constructgrid.cpp
+++ b/src/live_effects/lpe-constructgrid.cpp
@@ -41,8 +41,8 @@ LPEConstructGrid::~LPEConstructGrid()
}
-std::vector<Geom::Path>
-LPEConstructGrid::doEffect_path (std::vector<Geom::Path> const & path_in)
+Geom::PathVector
+LPEConstructGrid::doEffect_path (Geom::PathVector const & path_in)
{
// Check that the path has at least 3 nodes (i.e. 2 segments), more nodes are ignored
if (path_in[0].size() >= 2) {
@@ -64,7 +64,7 @@ LPEConstructGrid::doEffect_path (std::vector<Geom::Path> const & path_in)
second_path.appendNew<LineSegment>( origin + second_p*nr_x );
// use the gridpaths and set them in the correct grid
- std::vector<Geom::Path> path_out;
+ Geom::PathVector path_out;
path_out.push_back(first_path);
for (int ix = 0; ix < nr_x; ix++) {
path_out.push_back(path_out.back() * second_translation );