WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0

Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
This commit is contained in:
Tor Lillqvist
2013-02-19 10:31:20 +02:00
parent eee2fe2e7e
commit 6475609e88

View File

@@ -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;
}