Kaydet (Commit) 995494ec authored tarafından Michael Stahl's avatar Michael Stahl

ImplCreateRotatedScaled: fix wrong usage of 'x' instead of 'y'

introduced with c4a084e6

Change-Id: I75de86db107c8ddcae55903f23cf907c3280c9f5
üst 6ce04df2
...@@ -341,7 +341,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt ...@@ -341,7 +341,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt
if(aBitmapHeight == 1) if(aBitmapHeight == 1)
{ {
fRevScaleY = 1.0 / (double)( aUnrotatedHeight); fRevScaleY = 1.0 / (double)( aUnrotatedHeight);
for ( y = 0; x < aUnrotatedHeight ; y++) for (y = 0; y < aUnrotatedHeight; ++y)
{ {
pMapIY[y] = 0; pMapIY[y] = 0;
pMapFY[y] = 0.5; pMapFY[y] = 0.5;
......
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