summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-23 09:26:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 14:15:59 +0100
commit1eb3c57ad1ccbfe4b41409d69d7095b8cc86a948 (patch)
tree1a5ff2fc08bbd1d752932905cdb563bb8ed78ea9
parentcb30efc79f46cbd57fd138a38b483b19ba9bdd4e (diff)
coverity#1215302 Arguments in wrong order
Change-Id: I197e9abda098ef842f9a4d3d1bf96fbf51b5b178
-rw-r--r--vcl/workben/svptest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 8ba8277f51b4..019398a6168e 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -108,7 +108,7 @@ MyWin::MyWin( Window* pParent, WinBits nWinStyle ) :
double fBlue = 255.0-1.5*sqrt((double)((128-nX)*(128-nX)+(255-nY)*(255-nY)));
if( fBlue < 0.0 )
fBlue = 0.0;
- pAcc->SetPixel( nX, nY, BitmapColor( sal_uInt8(fRed), sal_uInt8(fGreen), sal_uInt8(fBlue) ) );
+ pAcc->SetPixel( nY, nX, BitmapColor( sal_uInt8(fRed), sal_uInt8(fGreen), sal_uInt8(fBlue) ) );
}
}
m_aBitmap.ReleaseAccess( pAcc );