[Libreoffice-commits] core.git: vcl/source

Thorsten Behrens thb at documentfoundation.org
Sun Nov 2 13:38:45 PST 2014


 vcl/source/gdi/bitmap3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae
Author: Thorsten Behrens <thb at documentfoundation.org>
Date:   Sun Nov 2 22:37:32 2014 +0100

    coverity#1242508: swapped arguments
    
    Change-Id: If86cc3cd9ea40dc826c93d6adb6e11fab20a15eb

diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index ece13a3..588dd0a 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -2602,7 +2602,7 @@ bool Bitmap::ImplConvolutionPass(Bitmap& aNewBitmap, const int nNewSize, BitmapR
                 (sal_uInt8) MinMax( aValueRed / aSum, 0, 255 ),
                 (sal_uInt8) MinMax( aValueGreen / aSum, 0, 255 ),
                 (sal_uInt8) MinMax( aValueBlue / aSum, 0, 255 ) );
-            pWriteAcc->SetPixel( x, y, aResultColor );
+            pWriteAcc->SetPixel( y, x, aResultColor );
         }
     }
     aNewBitmap.ReleaseAccess( pWriteAcc );


More information about the Libreoffice-commits mailing list