diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:25:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:25:28 +0100 |
commit | 6e8765b161a1c839fd303eecbd4ddd56f85b86ac (patch) | |
tree | fe2114c84b7721ad9bef873d6678435391391d3f /drawinglayer/source/attribute | |
parent | 54a8e708b4822f6887b5d18af39ccb87387e0774 (diff) |
More loplugin:cstylecast: drawinglayer
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: I38baea4d1dd354e48eb90fc2fc385ef60485b5e3
Diffstat (limited to 'drawinglayer/source/attribute')
-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); } } |