diff options
Diffstat (limited to 'slideshow/source/engine/shapes/shapeimporter.cxx')
-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 a79b8105f5f7..3d4122cda94b 100644 --- a/slideshow/source/engine/shapes/shapeimporter.cxx +++ b/slideshow/source/engine/shapes/shapeimporter.cxx @@ -355,7 +355,7 @@ ShapeSharedPtr ShapeImporter::createShape( getPropertyValue( nRotation, xPropSet, "RotateAngle" ); GraphicAttr aGraphAttrs; - aGraphAttrs.SetDrawMode( (GraphicDrawMode)eColorMode ); + aGraphAttrs.SetDrawMode( static_cast<GraphicDrawMode>(eColorMode) ); aGraphAttrs.SetLuminance( nLuminance ); aGraphAttrs.SetContrast( nContrast ); aGraphAttrs.SetChannelR( nRed ); |