diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-03-07 17:19:18 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-03-07 17:19:18 +0000 |
| commit | 2eb76fb0bd4b8572866d3c2390eaa82747890292 (patch) | |
| tree | 673eb8fdedd2cc54fd48347fb59cc5e1e20f8508 /src/snapped-line.cpp | |
| parent | Translations. Greek translation update by Dimitris Spingos. (diff) | |
| download | inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.tar.gz inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.zip | |
cppcheck
(bzr r11052)
Diffstat (limited to '')
| -rw-r--r-- | src/snapped-line.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snapped-line.cpp b/src/snapped-line.cpp index 6c0c411d8..fa333d6f1 100644 --- a/src/snapped-line.cpp +++ b/src/snapped-line.cpp @@ -56,7 +56,7 @@ Inkscape::SnappedPoint Inkscape::SnappedLineSegment::intersect(SnappedLineSegmen { inters = Geom::intersection(getLineSegment(), line.getLineSegment()); } - catch (Geom::InfiniteSolutions e) + catch (Geom::InfiniteSolutions &e) { // We're probably dealing with parallel lines, so they don't really cross inters = Geom::OptCrossing(); @@ -138,7 +138,7 @@ Inkscape::SnappedPoint Inkscape::SnappedLine::intersect(SnappedLine const &line) { inters = Geom::intersection(getLine(), line.getLine()); } - catch (Geom::InfiniteSolutions e) + catch (Geom::InfiniteSolutions &e) { // We're probably dealing with parallel lines, so they don't really cross inters = Geom::OptCrossing(); |
