diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-06 09:00:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-06 09:16:49 +0200 |
commit | 1c09657c5c25cf941588610eeab653217399f9b5 (patch) | |
tree | e22677bc2ce49d355d61801332e9a0600f655b03 /oox | |
parent | 458bf0812570f517dd4b80efbcfb7e0fca9479f7 (diff) |
cid#1315264 incorrect expression
Change-Id: I33457a2e1a213c6eb172ab188272e9688cd2ccad
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/shape/WpsContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index 9616e0b06776..657071bf4a7a 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -100,7 +100,7 @@ oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken // If the text is not rotated the way the shape wants it already, set the angle. const sal_Int32 nRotation = -270; - if (basegfx::rad2deg(fRotate) != NormAngle360(nRotation * 100) / 100) + if (basegfx::rad2deg(fRotate) != static_cast<double>(NormAngle360(nRotation * 100)) / 100) { comphelper::SequenceAsHashMap aCustomShapeGeometry(xPropertySet->getPropertyValue("CustomShapeGeometry")); aCustomShapeGeometry["TextPreRotateAngle"] = uno::makeAny(nRotation); |