diff options
Diffstat (limited to 'vcl/source/graphic/GraphicObject.cxx')
-rw-r--r-- | vcl/source/graphic/GraphicObject.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx index aa5435d3ad50..ffb2cc776bc5 100644 --- a/vcl/source/graphic/GraphicObject.cxx +++ b/vcl/source/graphic/GraphicObject.cxx @@ -110,7 +110,7 @@ bool lclDrawObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, if( aGraphic.IsSupportedGraphic() ) { - const Degree10 nRot10 = rAttr.GetRotation() % Degree10(3600); + const Degree10 nRot10 = rAttr.GetRotation() % 3600_deg10; if( nRot10 ) { @@ -353,7 +353,7 @@ bool GraphicObject::ImplGetCropParams( OutputDevice const * pOut, Point& rPt, Si if( GetType() != GraphicType::NONE ) { tools::Polygon aClipPoly( tools::Rectangle( rPt, rSz ) ); - const Degree10 nRot10 = pAttr->GetRotation() % Degree10(3600); + const Degree10 nRot10 = pAttr->GetRotation() % 3600_deg10; const Point aOldOrigin( rPt ); const MapMode aMap100( MapUnit::Map100thMM ); Size aSize100; |