basic/source/sbx/sbxscan.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c6af2045a46824362b6644613d9dd1fc286b9c82
Author:     Mike Kaganski <[email protected]>
AuthorDate: Mon Dec 23 09:31:28 2024 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Dec 24 01:00:50 2024 +0100

    Fix a copypasta
    
    From commit 9e9f39d171cafa035d7b8e74187e25c3581cb89d (resolved
    rhbz#919020 Basic CDbl() and CSng() scan localized number, 2013-03-19)
    
    Change-Id: I871d7fb06ccb5d15723f7acfb57701890607055f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179197
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>
    (cherry picked from commit e40b541d7ae6acdcfda19e54a12a4dbc59bfbd09)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179236
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index dbb45c34b88e..729fce58aace 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -107,7 +107,7 @@ ErrCode ImpScan( const OUString& rWSrc, double& nVal, 
SbxDataType& rType,
         bMinus = true;
     }
     if( rtl::isAsciiDigit( *p ) || ((*p == cNonIntntlDecSep || *p == 
cIntntlDecSep ||
-                    (cIntntlDecSep && *p == cIntntlGrpSep) || 
(cIntntlDecSepAlt && *p == cIntntlDecSepAlt)) &&
+                    (cIntntlGrpSep && *p == cIntntlGrpSep) || 
(cIntntlDecSepAlt && *p == cIntntlDecSepAlt)) &&
                 rtl::isAsciiDigit( *(p+1) )))
     {
         // tdf#118442: Whitespace and minus are skipped; store the position to 
calculate index

Reply via email to