From 7baea495ca02d8b5e0b636e83f2388bed5b48939 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 22 Jul 2019 08:59:22 +0100 Subject: cid#1448485 silence Copy-paste error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6c82f9d87203d90099e39880bfd3feb2c2ff8354 Reviewed-on: https://gerrit.libreoffice.org/76097 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- basic/source/sbx/sbxform.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'basic') diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx index 116c9757ffd8..2294be9f295b 100644 --- a/basic/source/sbx/sbxform.cxx +++ b/basic/source/sbx/sbxform.cxx @@ -631,6 +631,7 @@ void SbxBasicFormater::ScanFormatString( double dNumber, { bFirstDigit = false; } + // coverity[copy_paste_error : FALSE] - this is correct and nDigitPos should not be j if( bGenerateThousandSeparator && ( c=='0' || nMaxDigit >= nDigitPos ) && j > 0 && (j % 3 == 0) ) { sReturnStrg.append(cThousandSep ); -- cgit