[Libreoffice-commits] core.git: basic/source
Eike Rathke
erack at redhat.com
Tue Mar 19 16:07:11 PDT 2013
basic/source/sbx/sbxscan.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e96c7a60c88bc1e3008ebdeafd59327933d6707f
Author: Eike Rathke <erack at redhat.com>
Date: Wed Mar 20 00:05:49 2013 +0100
replace decimal separator at correct position, rhbz#919020
Change-Id: I97a652e6a1286726fe21ae580f6dbf5536f9d52d
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index e4ac196..68faaf0 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -141,11 +141,11 @@ SbxError ImpScan( const OUString& rWSrc, double& nVal, SbxDataType& rType,
}
if( *p == cNonIntntlDecSep || *p == cIntntlDecSep )
{
+ // Use the separator that is passed to stringToDouble()
+ aBuf[ p - pStart ] = cIntntlDecSep;
p++;
if( ++decsep > 1 )
continue;
- // Use the separator that is passed to stringToDouble()
- aBuf[ p - pStart ] = cIntntlDecSep;
}
else if( ImpStrChr( pDdEe, *p ) )
{
More information about the Libreoffice-commits
mailing list