summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap3.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@documentfoundation.org>2014-11-02 22:37:32 +0100
committerThorsten Behrens <thb@documentfoundation.org>2014-11-02 22:37:32 +0100
commit10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae (patch)
tree4fa3fb47b1f2f83cb5666f35f3ab2ab0d575832f /vcl/source/gdi/bitmap3.cxx
parentd72237741ed1d8f976032ff2ee5d2a8702d3380e (diff)
coverity#1242508: swapped arguments
Change-Id: If86cc3cd9ea40dc826c93d6adb6e11fab20a15eb
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index ece13a3cfda5..588dd0a2d50c 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 );