summaryrefslogtreecommitdiffstats
path: root/src/line-snapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/line-snapper.cpp')
-rw-r--r--src/line-snapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line-snapper.cpp b/src/line-snapper.cpp
index 8fdf936ed..ee902d5fc 100644
--- a/src/line-snapper.cpp
+++ b/src/line-snapper.cpp
@@ -87,7 +87,7 @@ void Inkscape::LineSnapper::constrainedSnap(SnappedConstraints &sc,
/* Try to intersect this line with the target line */
Geom::Point t_2geom(NR_HUGE, NR_HUGE);
- Geom::IntersectorKind const k = Geom::line_intersection(n.to_2geom(), q0, i->first.to_2geom(), q1, t_2geom);
+ Geom::IntersectorKind const k = Geom::line_intersection(n, q0, i->first, q1, t_2geom);
NR::Point t(t_2geom);
if (k == Geom::intersects) {