summaryrefslogtreecommitdiff
path: root/include/tools/line.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/line.hxx')
-rw-r--r--include/tools/line.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/line.hxx b/include/tools/line.hxx
index e1b62ffd00f8..eb3f3219aa2e 100644
--- a/include/tools/line.hxx
+++ b/include/tools/line.hxx
@@ -47,8 +47,8 @@ public:
double GetLength() const;
- sal_Bool Intersection( const Line& rLine, double& rIntersectionX, double& rIntersectionY ) const;
- sal_Bool Intersection( const Line& rLine, Point& rIntersection ) const;
+ bool Intersection( const Line& rLine, double& rIntersectionX, double& rIntersectionY ) const;
+ bool Intersection( const Line& rLine, Point& rIntersection ) const;
double GetDistance( const double& rPtX, const double& rPtY ) const;
double GetDistance( const Point& rPoint ) const { return( GetDistance( rPoint.X(), rPoint.Y() ) ); }