replace decimal separator at correct position, rhbz#919020
Change-Id: I97a652e6a1286726fe21ae580f6dbf5536f9d52d
This commit is contained in:
@@ -141,11 +141,11 @@ SbxError ImpScan( const OUString& rWSrc, double& nVal, SbxDataType& rType,
|
|||||||
}
|
}
|
||||||
if( *p == cNonIntntlDecSep || *p == cIntntlDecSep )
|
if( *p == cNonIntntlDecSep || *p == cIntntlDecSep )
|
||||||
{
|
{
|
||||||
|
// Use the separator that is passed to stringToDouble()
|
||||||
|
aBuf[ p - pStart ] = cIntntlDecSep;
|
||||||
p++;
|
p++;
|
||||||
if( ++decsep > 1 )
|
if( ++decsep > 1 )
|
||||||
continue;
|
continue;
|
||||||
// Use the separator that is passed to stringToDouble()
|
|
||||||
aBuf[ p - pStart ] = cIntntlDecSep;
|
|
||||||
}
|
}
|
||||||
else if( ImpStrChr( pDdEe, *p ) )
|
else if( ImpStrChr( pDdEe, *p ) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user