WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0
Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user