Kaydet (Commit) 10e77ab3 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

coverity#1242508: swapped arguments

Change-Id: If86cc3cd9ea40dc826c93d6adb6e11fab20a15eb
üst d7223774
...@@ -2602,7 +2602,7 @@ bool Bitmap::ImplConvolutionPass(Bitmap& aNewBitmap, const int nNewSize, BitmapR ...@@ -2602,7 +2602,7 @@ bool Bitmap::ImplConvolutionPass(Bitmap& aNewBitmap, const int nNewSize, BitmapR
(sal_uInt8) MinMax( aValueRed / aSum, 0, 255 ), (sal_uInt8) MinMax( aValueRed / aSum, 0, 255 ),
(sal_uInt8) MinMax( aValueGreen / aSum, 0, 255 ), (sal_uInt8) MinMax( aValueGreen / aSum, 0, 255 ),
(sal_uInt8) MinMax( aValueBlue / aSum, 0, 255 ) ); (sal_uInt8) MinMax( aValueBlue / aSum, 0, 255 ) );
pWriteAcc->SetPixel( x, y, aResultColor ); pWriteAcc->SetPixel( y, x, aResultColor );
} }
} }
aNewBitmap.ReleaseAccess( pWriteAcc ); aNewBitmap.ReleaseAccess( pWriteAcc );
......
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