diff options
Diffstat (limited to 'drawinglayer/source/attribute/sdrlightingattribute3d.cxx')
-rw-r--r-- | drawinglayer/source/attribute/sdrlightingattribute3d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/attribute/sdrlightingattribute3d.cxx b/drawinglayer/source/attribute/sdrlightingattribute3d.cxx index 0302f129b581..d4ac015c4fb9 100644 --- a/drawinglayer/source/attribute/sdrlightingattribute3d.cxx +++ b/drawinglayer/source/attribute/sdrlightingattribute3d.cxx @@ -163,7 +163,7 @@ namespace drawinglayer if(basegfx::fTools::more(fCosFac2, 0.0)) { - fCosFac2 = pow(fCosFac2, (double)nSpecularIntensity); + fCosFac2 = pow(fCosFac2, static_cast<double>(nSpecularIntensity)); aRetval += (rSpecular * fCosFac2); } } |