Kaydet (Commit) 6475609e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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

Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
üst eee2fe2e
...@@ -306,7 +306,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt ...@@ -306,7 +306,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt
for ( x = 0; x < aUnrotatedWidth ; x++) for ( x = 0; x < aUnrotatedWidth ; x++)
{ {
pMapIX[x] = 0; pMapIX[x] = 0;
pMapFX[x] = 0.5; pMapFX[x] = 0;
} }
scaleByAveraging = true; scaleByAveraging = true;
} }
...@@ -344,7 +344,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt ...@@ -344,7 +344,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt
for (y = 0; y < aUnrotatedHeight; ++y) for (y = 0; y < aUnrotatedHeight; ++y)
{ {
pMapIY[y] = 0; pMapIY[y] = 0;
pMapFY[y] = 0.5; pMapFY[y] = 0;
} }
scaleByAveraging = true; scaleByAveraging = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment