From 6475609e882c16c7536bbfa502e2f8341abfea6e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 19 Feb 2013 10:31:20 +0200 Subject: WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0 Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29 --- svtools/source/graphic/grfmgr2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index 365a8b18ada9..fd8679e8a8c4 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -306,7 +306,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt for ( x = 0; x < aUnrotatedWidth ; x++) { pMapIX[x] = 0; - pMapFX[x] = 0.5; + pMapFX[x] = 0; } scaleByAveraging = true; } @@ -344,7 +344,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt for (y = 0; y < aUnrotatedHeight; ++y) { pMapIY[y] = 0; - pMapFY[y] = 0.5; + pMapFY[y] = 0; } scaleByAveraging = true; } -- cgit v1.2.3