Kaydet (Commit) 1c09657c authored tarafından Miklos Vajna's avatar Miklos Vajna

cid#1315264 incorrect expression

Change-Id: I33457a2e1a213c6eb172ab188272e9688cd2ccad
üst 458bf081
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment