diff --git a/src/snapped-point.h b/src/snapped-point.h
index dbd672bdfd1018276875fc6dd097d01d9b6dfb94..cddddd53bc3097226544b46854b01d79b1da36d5 100644 (file)
--- a/src/snapped-point.h
+++ b/src/snapped-point.h
void setPointerDistance(Geom::Coord const d) {_pointer_distance = d;}
/* This is the preferred method to find out which point we have snapped
- * to, because it only returns a point if snapping has actually occured
+ * to, because it only returns a point if snapping has actually occurred
* (by overwriting p)
*/
void getPoint(Geom::Point &p) const;
Geom::Point getTransformation() const {return _transformation;}
void setTransformation(Geom::Point const t) {_transformation = t;}
void setTarget(SnapTargetType const target) {_target = target;}
- SnapTargetType getTarget() {return _target;}
+ SnapTargetType getTarget() const {return _target;}
bool isOtherSnapBetter(SnappedPoint const &other_one, bool weighted) const;