summaryrefslogtreecommitdiffstats
path: root/tools/source/generic/line.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/line.cxx')
-rw-r--r--tools/source/generic/line.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/line.cxx b/tools/source/generic/line.cxx
index 597b783f3523..b1a23635e9d6 100644
--- a/tools/source/generic/line.cxx
+++ b/tools/source/generic/line.cxx
@@ -39,8 +39,8 @@ bool Line::Intersection( const Line& rLine, Point& rIntersection ) const
if( Intersection( rLine, fX, fY ) )
{
- rIntersection.X() = FRound( fX );
- rIntersection.Y() = FRound( fY );
+ rIntersection.setX( FRound( fX ) );
+ rIntersection.setY( FRound( fY ) );
bRet = true;
}
else