From 1fd57a41383419cbeddbaef27e52d55c0d02400f Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Fri, 6 Jun 2014 17:01:38 -0400 Subject: Clean up some unnecessary pointer usage in livarot (bzr r13341.1.50) --- src/livarot/PathConversion.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/livarot/PathConversion.cpp') diff --git a/src/livarot/PathConversion.cpp b/src/livarot/PathConversion.cpp index 42df898e6..0ef88841a 100644 --- a/src/livarot/PathConversion.cpp +++ b/src/livarot/PathConversion.cpp @@ -1269,8 +1269,9 @@ void Path::RecBezierTo(Geom::Point const &iP, Geom::Point const &iS,Geom::Point * in a path description ( you need to have prepared the back data for that, of course) */ -void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool invert) +void Path::Fill(Shape& destr, int pathID, bool justAdd, bool closeIfNeeded, bool invert) { + Shape* dest = &destr; if ( dest == NULL ) { return; } -- cgit v1.2.3