diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-04-09 21:12:17 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-04-09 21:12:17 +0000 |
| commit | 8b69d31378f589b16f5534fde7b4c9f28c77b817 (patch) | |
| tree | d0dd31312892417b6a2b01a818cbb1633f17c812 /src/live_effects/lpe-sketch.cpp | |
| parent | change to c++ style casts in Effect::New (diff) | |
| download | inkscape-8b69d31378f589b16f5534fde7b4c9f28c77b817.tar.gz inkscape-8b69d31378f589b16f5534fde7b4c9f28c77b817.zip | |
change doEffect functions to use const& parameters
(bzr r5394)
Diffstat (limited to 'src/live_effects/lpe-sketch.cpp')
| -rw-r--r-- | src/live_effects/lpe-sketch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-sketch.cpp b/src/live_effects/lpe-sketch.cpp index 79f4d67f9..e4e7cddcc 100644 --- a/src/live_effects/lpe-sketch.cpp +++ b/src/live_effects/lpe-sketch.cpp @@ -136,7 +136,7 @@ addLinearEnds (Geom::Piecewise<Geom::D2<Geom::SBasis> > & m){ //TODO: does this already exist in 2Geom? if not, move this there... std::vector<Geom::Piecewise<Geom::D2<Geom::SBasis> > > -split_at_discontinuities (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwsbin, double tol = .0001) +split_at_discontinuities (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwsbin, double tol = .0001) { using namespace Geom; std::vector<Piecewise<D2<SBasis> > > ret; @@ -193,7 +193,7 @@ LPESketch::computePerturbation (double s0, double s1){ // Main effect body... Geom::Piecewise<Geom::D2<Geom::SBasis> > -LPESketch::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in) +LPESketch::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in) { using namespace Geom; //If the input path is empty, do nothing. |
