summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/poly.cxx')
-rw-r--r--tools/source/generic/poly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index f4631dfb1d86..7e09e2a75566 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1398,7 +1398,7 @@ void Polygon::Scale( double fScaleX, double fScaleY )
void Polygon::Rotate( const Point& rCenter, Degree10 nAngle10 )
{
- nAngle10 %= Degree10(3600);
+ nAngle10 %= 3600_deg10;
if( nAngle10 )
{