summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-19 21:30:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-20 21:16:20 +0200
commit89e54a995e19e1be46e666800a9b99a9cd1b3fd0 (patch)
tree8dfea4e89339e0ad027fd4228ffa6ee04b6435ea /svx/source/xoutdev
parent0abc99de2c98f57ee3846b0e689aed08b7c626af (diff)
coverity#1435686 silence Copy-paste error
Change-Id: I017307e9b125dd0fe970736c6ebe482f08d54e90 Reviewed-on: https://gerrit.libreoffice.org/54586 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index d2437cbfc25c..1e57b09bfe3c 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -591,6 +591,7 @@ tools::Polygon XOutBitmap::GetContour( const Bitmap& rBmp, const XOutFlags nFlag
// this loop always breaks eventually as there is at least one pixel
while( true )
{
+ // coverity[copy_paste_error] - this is correct nX, not nY
if( aBlack == pAcc->GetPixelFromData( pScanline, nX ) )
{
pPoints2[ nPolyPos ] = Point( nX, nY );