From d3a4d543c4d6eb4151b2acad892272cbc1ea3f45 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Wed, 15 Feb 2012 08:26:41 +0100 Subject: Synchronized 2geom to revision 2058 (bzr r10978) --- src/2geom/line.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/2geom/line.cpp') diff --git a/src/2geom/line.cpp b/src/2geom/line.cpp index 471ce256c..097365245 100644 --- a/src/2geom/line.cpp +++ b/src/2geom/line.cpp @@ -432,7 +432,7 @@ boost::optional clip (Line const& l, Rect const& r) points.push_back (l.pointAt (oc->tb)); } } - catch (InfiniteSolutions e) + catch (InfiniteSolutions const &e) { return opt_linesegment(ls); } @@ -459,7 +459,7 @@ boost::optional clip (Line const& l, Rect const& r) } } } - catch (InfiniteSolutions e) + catch (InfiniteSolutions const &e) { return opt_linesegment(ls); } @@ -481,7 +481,7 @@ Line make_angle_bisector_line(Line const& l1, Line const& l2) { crossing = intersection(l1, l2); } - catch(InfiniteSolutions e) + catch(InfiniteSolutions const &e) { return l1; } -- cgit v1.2.3