summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathStroke.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-06 21:01:38 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-06 21:01:38 +0000
commit1fd57a41383419cbeddbaef27e52d55c0d02400f (patch)
tree72854a0d1dc09bec11e55b28c68ea22dcef5be1b /src/livarot/PathStroke.cpp
parentPut lpe-envelope-perspective.cpp in CMakeLists.txt (diff)
downloadinkscape-1fd57a41383419cbeddbaef27e52d55c0d02400f.tar.gz
inkscape-1fd57a41383419cbeddbaef27e52d55c0d02400f.zip
Clean up some unnecessary pointer usage in livarot
(bzr r13341.1.50)
Diffstat (limited to 'src/livarot/PathStroke.cpp')
-rw-r--r--src/livarot/PathStroke.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/livarot/PathStroke.cpp b/src/livarot/PathStroke.cpp
index 50c335176..07ecc8114 100644
--- a/src/livarot/PathStroke.cpp
+++ b/src/livarot/PathStroke.cpp
@@ -38,9 +38,10 @@ static Geom::Point StrokeNormalize(const Geom::Point value, double length) {
}
}
-void Path::Stroke(Shape *dest, bool doClose, double width, JoinType join,
+void Path::Stroke(Shape &destr, bool doClose, double width, JoinType join,
ButtType butt, double miter, bool justAdd)
{
+ ::Shape* dest = &destr;
if (dest == NULL) {
return;
}