summaryrefslogtreecommitdiffstats
path: root/src/2geom/line.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-15 07:26:41 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-15 07:26:41 +0000
commitd3a4d543c4d6eb4151b2acad892272cbc1ea3f45 (patch)
treef02369e70e001bb296ca98f09cc8ace67100e19b /src/2geom/line.cpp
parentcppcheck (diff)
downloadinkscape-d3a4d543c4d6eb4151b2acad892272cbc1ea3f45.tar.gz
inkscape-d3a4d543c4d6eb4151b2acad892272cbc1ea3f45.zip
Synchronized 2geom to revision 2058
(bzr r10978)
Diffstat (limited to 'src/2geom/line.cpp')
-rw-r--r--src/2geom/line.cpp6
1 files changed, 3 insertions, 3 deletions
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<LineSegment> 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<LineSegment> 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;
}