From 164bd64255d71d96e35e908f6425acf8372795fb Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Thu, 2 Oct 2014 04:44:33 -0500 Subject: coverity#1242757 Result is not floating-point Change-Id: Iae8ac2ad9d1713512619c5c33eeee9a21b5835f1 --- sd/source/filter/ppt/pptin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 8f35f43c1628..fde8729229d7 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2445,8 +2445,8 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj if (std::abs(aLogicRect.Right() - aOutlineRect.Right()) > 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 ); } -- cgit v1.2.3