summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathCutting.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-07 01:19:18 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-07 01:19:18 +0000
commit48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae (patch)
tree9e66e429e2025fb99b28511231f87c533c15e865 /src/livarot/PathCutting.cpp
parentClean up some unnecessary pointer usage in livarot (diff)
downloadinkscape-48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae.tar.gz
inkscape-48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae.zip
Undo changes in r13391
(bzr r13341.1.51)
Diffstat (limited to '')
-rw-r--r--src/livarot/PathCutting.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp
index 74653ca06..49b2c5a78 100644
--- a/src/livarot/PathCutting.cpp
+++ b/src/livarot/PathCutting.cpp
@@ -269,11 +269,10 @@ void Path::DashSubPath(int spL, int spP, std::vector<path_lineto> const &orig_pt
}
}
-Geom::PathVector
+Geom::PathVector *
Path::MakePathVector()
{
- Geom::PathVector retPv;
- Geom::PathVector *pv = &retPv;
+ Geom::PathVector *pv = new Geom::PathVector();
Geom::Path * currentpath = NULL;
Geom::Point lastP,bezSt,bezEn;
@@ -381,7 +380,7 @@ Path::MakePathVector()
}
}
- return *pv;
+ return pv;
}
void Path::AddCurve(Geom::Curve const &c)