summaryrefslogtreecommitdiffstats
path: root/src/measure-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/measure-context.cpp')
-rw-r--r--src/measure-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/measure-context.cpp b/src/measure-context.cpp
index 741dd5edd..bc766872b 100644
--- a/src/measure-context.cpp
+++ b/src/measure-context.cpp
@@ -135,7 +135,8 @@ bool GeomPointSortPredicate(const Geom::Point& p1, const Geom::Point& p2)
return p1[Geom::Y] < p2[Geom::Y];
}
-void calculate_intersections(SPDesktop *desktop, SPItem* item, Geom::PathVector *lineseg, SPCurve *curve, std::vector<Geom::Point> *intersections){
+void calculate_intersections(SPDesktop * /*desktop*/, SPItem* item, Geom::PathVector *lineseg, SPCurve *curve, std::vector<Geom::Point> *intersections)
+{
curve->transform(item->i2doc_affine());
// Find all intersections of the control-line with this shape