diff options
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index bcd25ff17d22..3f23530eece3 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1006,8 +1006,8 @@ void PPTWriter::ImplFlipBoundingBox( EscherPropertyContainer& rPropOpt ) double fCos = cos( (double)mnAngle * F_PI18000 ); double fSin = sin( (double)mnAngle * F_PI18000 ); - double fWidthHalf = maRect.GetWidth() / 2; - double fHeightHalf = maRect.GetHeight() / 2; + double fWidthHalf = maRect.GetWidth() / 2.0; + double fHeightHalf = maRect.GetHeight() / 2.0; double fXDiff = fCos * fWidthHalf + fSin * (-fHeightHalf); double fYDiff = - ( fSin * fWidthHalf - fCos * ( -fHeightHalf ) ); |