svx/source/xoutdev/_xoutbmp.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 89e54a995e19e1be46e666800a9b99a9cd1b3fd0 Author: Caolán McNamara <caol...@redhat.com> Date: Sat May 19 21:30:08 2018 +0100
coverity#1435686 silence Copy-paste error Change-Id: I017307e9b125dd0fe970736c6ebe482f08d54e90 Reviewed-on: https://gerrit.libreoffice.org/54586 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits