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

Caolán McNamara caolanm at redhat.com
Sun May 20 19:16:41 UTC 2018


 svx/source/xoutdev/_xoutbmp.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 89e54a995e19e1be46e666800a9b99a9cd1b3fd0
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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 );


More information about the Libreoffice-commits mailing list