diff --git a/uppsrc/Geom/geometry.h b/uppsrc/Geom/geometry.h index 671b1fab2..073f2a075 100644 --- a/uppsrc/Geom/geometry.h +++ b/uppsrc/Geom/geometry.h @@ -286,7 +286,7 @@ public: Pointf Intersect(VecLine another) const; VecLine& SetClip(const Rectf& rect); - VecLine Clip(const Rectf& rect) const { return VecLine(*this).Clip(rect); } + VecLine Clip(const Rectf& rect) const { return VecLine(*this).SetClip(rect); } double Distance(Pointf point, double *arg = NULL) const;