summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxform.cxx1
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 );