diff options
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/shapeimporter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx index b1b1b3417269..6d5b668efb00 100644 --- a/slideshow/source/engine/shapes/shapeimporter.cxx +++ b/slideshow/source/engine/shapes/shapeimporter.cxx @@ -296,7 +296,7 @@ ShapeSharedPtr ShapeImporter::createShape( aGraphAttrs.SetChannelB( nBlue ); aGraphAttrs.SetGamma( nGamma ); aGraphAttrs.SetTransparency( static_cast<sal_uInt8>(nTransparency) ); - aGraphAttrs.SetRotation( static_cast<sal_uInt16>(nRotation*10) ); + aGraphAttrs.SetRotation( Degree10(static_cast<sal_Int16>(nRotation*10)) ); text::GraphicCrop aGraphCrop; if( getPropertyValue( aGraphCrop, xPropSet, "GraphicCrop" )) |