diff options
author | August Sodora <augsod@gmail.com> | 2011-12-04 18:08:28 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-04 18:09:07 -0500 |
commit | 0bcc6c93b8dbd92f7f13ea40c464636b00be0d6f (patch) | |
tree | 326069ba213a11424f0075a9b648341582a647f5 /basic | |
parent | e286a56ecfc0e9312cc63658e3055aea5995c6f6 (diff) |
Use appropriate datatypes here too
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/scanner.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index dabeffeb821e..cc17fd5c163d 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -240,7 +240,7 @@ bool SbiScanner::NextSym() { pLine++; goto eoln; } bSymbol = true; - short n = nCol; + sal_uInt16 n = nCol; for ( ; (theBasicCharClass::get().isAlphaNumeric( *pLine, bCompatible ) || ( *pLine == '_' ) ); pLine++ ) nCol++; aSym = aLine.copy( n, nCol - n ); @@ -424,7 +424,7 @@ bool SbiScanner::NextSym() sal_Unicode cSep = *pLine; if( cSep == '[' ) bSymbol = true, cSep = ']'; - short n = nCol+1; + sal_uInt16 n = nCol + 1; while( *pLine ) { do pLine++, nCol++; @@ -460,7 +460,7 @@ bool SbiScanner::NextSym() // other groups: else { - short n = 1; + sal_uInt8 n = 1; switch( *pLine++ ) { case '<': if( *pLine == '>' || *pLine == '=' ) n = 2; break; |