Kaydet (Commit) a1b71647 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242757 Result is not floating-point

there was two of these, see

commit 164bd642
Date:   Thu Oct 2 04:44:33 2014 -0500
    coverity#1242757 Result is not floating-point

Change-Id: I1f66191f329b2d87bdeb52aa1a7528ca662064a6
üst b9d4244b
......@@ -2414,8 +2414,8 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
if (std::abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
std::abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE ||
std::abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE ||
aLogicSize.Width() / aOutlineSize.Width() < 0.48 ||
aLogicSize.Width() / aOutlineSize.Width() > 0.5)
(double)aLogicSize.Width() / aOutlineSize.Width() < 0.48 ||
(double)aLogicSize.Width() / aOutlineSize.Width() > 0.5)
{
pPresObj->SetUserCall(NULL);
}
......
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