diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 08:59:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 16:51:30 +0200 |
commit | 7baea495ca02d8b5e0b636e83f2388bed5b48939 (patch) | |
tree | c081096f9927280bd471927d31ba932d330ed447 /basic | |
parent | 8cb28ba37198fb0cfb18a408c7796bc6c0faf5c1 (diff) |
cid#1448485 silence Copy-paste error
Change-Id: I6c82f9d87203d90099e39880bfd3feb2c2ff8354
Reviewed-on: https://gerrit.libreoffice.org/76097
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxform.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |