From 8f7af0dbfc7bbd45d5b6ad5875449e4a8c122beb Mon Sep 17 00:00:00 2001 From: "Michael G. Sloan" Date: Sat, 18 Aug 2007 02:22:48 +0000 Subject: Doh! Sorry for breaking compile (always test!) (bzr r3504) --- src/2geom/sbasis-to-bezier.h | 2 +- src/live_effects/n-art-bpath-2geom.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/2geom/sbasis-to-bezier.h b/src/2geom/sbasis-to-bezier.h index 142a25026..d9eaabe7e 100644 --- a/src/2geom/sbasis-to-bezier.h +++ b/src/2geom/sbasis-to-bezier.h @@ -14,7 +14,7 @@ sbasis_to_bezier(D2 const &B, unsigned q = 0); std::vector path_from_piecewise(Piecewise > const &B, double tol); -void path_from_sbasis(Path &pb, D2 const &B, double tol); +Path path_from_sbasis(D2 const &B, double tol); }; #endif diff --git a/src/live_effects/n-art-bpath-2geom.cpp b/src/live_effects/n-art-bpath-2geom.cpp index e71e28b99..f04c80f2b 100644 --- a/src/live_effects/n-art-bpath-2geom.cpp +++ b/src/live_effects/n-art-bpath-2geom.cpp @@ -45,7 +45,7 @@ static void curve_to_svgd(std::ostream & f, Geom::Curve const* c) { // } else { //this case handles sbasis as well as all other curve types - Geom::Path sbasis_path = path_from_sbasis(sbasis_path, c->sbasis(), 0.1); + Geom::Path sbasis_path = path_from_sbasis(c->sbasis(), 0.1); //recurse to convert the new path resulting from the sbasis to svgd for(Geom::Path::iterator iter = sbasis_path.begin(); iter != sbasis_path.end(); ++iter) { -- cgit v1.2.3