summaryrefslogtreecommitdiff
path: root/basic/source/comp/scanner.cxx
diff options
context:
space:
mode:
authorXisco Faulí <anistenis@gmail.com>2011-03-21 12:55:40 +0100
committerChristina Rossmanith <ChrRossmanith@web.de>2011-03-21 12:55:58 +0100
commitf6e0527033be682dbf6b60bd9b060fdd853ffe33 (patch)
tree2d5ee2a7bface7ce26de0ac42eeb55d6d8050475 /basic/source/comp/scanner.cxx
parent41aed87d074878c3a38a7f982f5c2aaad9400189 (diff)
Remove most of dead code inlibs-core (basic)
Diffstat (limited to 'basic/source/comp/scanner.cxx')
-rwxr-xr-xbasic/source/comp/scanner.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx
index 6e9b80dde9c0..11c081d1b4b2 100755
--- a/basic/source/comp/scanner.cxx
+++ b/basic/source/comp/scanner.cxx
@@ -319,8 +319,6 @@ sal_Bool SbiScanner::NextSym()
{
pLine++; nCol++; continue;
}
-// if( toupper( *pLine ) == 'D' )
-// eScanType = SbxDOUBLE;
*p++ = 'E'; pLine++; nCol++;
// Vorzeichen hinter Exponent?
if( *pLine == '+' )
@@ -345,7 +343,6 @@ sal_Bool SbiScanner::NextSym()
// #57844 Lokalisierte Funktion benutzen
nVal = rtl_math_uStringToDouble( buf, buf+(p-buf), '.', ',', NULL, NULL );
- // ALT: nVal = atof( buf );
ndig = ndig - comma;
if( !comma && !exp )
@@ -358,12 +355,6 @@ sal_Bool SbiScanner::NextSym()
}
if( bBufOverflow )
GenError( SbERR_MATH_OVERFLOW );
- // zu viele Zahlen fuer SINGLE?
-// if (ndig > 15 || ncdig > 6)
-// eScanType = SbxDOUBLE;
-// else
-// if( nVal > SbxMAXSNG || nVal < SbxMINSNG )
-// eScanType = SbxDOUBLE;
// Typkennung?
SbxDataType t = GetSuffixType( *pLine );
@@ -382,7 +373,6 @@ sal_Bool SbiScanner::NextSym()
sal_Unicode cmp1[] = { '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F', 0 };
sal_Unicode cmp2[] = { '0', '1', '2', '3', '4', '5', '6', '7', 0 };
sal_Unicode *cmp = cmp1;
- //char *cmp = "0123456789ABCDEF";
sal_Unicode base = 16;
sal_Unicode ndig = 8;
sal_Unicode xch = *pLine++ & 0xFF; nCol++;
@@ -390,7 +380,6 @@ sal_Bool SbiScanner::NextSym()
{
case 'O':
cmp = cmp2; base = 8; ndig = 11; break;
- //cmp = "01234567"; base = 8; ndig = 11; break;
case 'H':
break;
default :