summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 10:46:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-02 14:48:58 +0100
commit43ab43803612551cd7c2571fe1dfbbdebdaaab7c (patch)
treec54488934b8b35242aa89de9c522b7a6e7631d5c /svx
parent78bd404c8d7126f1eb0c570fcf1cce403e1a08c1 (diff)
coverity#1242815 Result is not floating-point
Change-Id: Ie50e89862ba4168c05cde385158bf82cf7aede62
Diffstat (limited to 'svx')
-rw-r--r--svx/source/engine3d/scene3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 3978fadaacc9..580610f765ac 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -637,7 +637,7 @@ void E3dScene::NbcRotate(const Point& rRef, long nWink, double sn, double cs)
// through the enter of aOutRect's (Steiner's theorem), so RotateZ
RotateScene (rRef, nWink, sn, cs); // Rotates the scene
- double fWinkelInRad = nWink/100 * F_PI180;
+ double fWinkelInRad = nWink/100.0 * F_PI180;
basegfx::B3DHomMatrix aRotation;
aRotation.rotate(0.0, 0.0, fWinkelInRad);