basic/source/sbx/sbxscan.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit e96c7a60c88bc1e3008ebdeafd59327933d6707f Author: Eike Rathke <er...@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 ) ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits