[Libreoffice-commits] core.git: basic/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 22 14:52:20 UTC 2019
basic/source/sbx/sbxform.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 7baea495ca02d8b5e0b636e83f2388bed5b48939
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 22 08:59:22 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jul 22 16:51:30 2019 +0200
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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 );
More information about the Libreoffice-commits
mailing list