summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathSimplify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/livarot/PathSimplify.cpp')
-rw-r--r--src/livarot/PathSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp
index 917bcbe7c..c53dfa029 100644
--- a/src/livarot/PathSimplify.cpp
+++ b/src/livarot/PathSimplify.cpp
@@ -126,7 +126,7 @@ double DistanceToCubic(Geom::Point const &start, PathDescrCubicTo res, Geom::Poi
}
Geom::Point seg = res.p - start;
- nnle = NR::cross(seg, sp);
+ nnle = Geom::cross(seg, sp);
nnle *= nnle;
nnle /= Geom::dot(seg, seg);
if ( nnle < nle ) {