summaryrefslogtreecommitdiff
path: root/vcl/source/graphic/GraphicObject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/graphic/GraphicObject.cxx')
-rw-r--r--vcl/source/graphic/GraphicObject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx
index 415e42e3313a..aa8b5a3169b7 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 sal_uInt16 nRot10 = rAttr.GetRotation() % 3600;
+ const Degree10 nRot10 = rAttr.GetRotation() % Degree10(3600);
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 sal_uInt16 nRot10 = pAttr->GetRotation() % 3600;
+ const Degree10 nRot10 = pAttr->GetRotation() % Degree10(3600);
const Point aOldOrigin( rPt );
const MapMode aMap100( MapUnit::Map100thMM );
Size aSize100;