Kaydet (Commit) 0bcc6c93 authored tarafından August Sodora's avatar August Sodora

Use appropriate datatypes here too

üst e286a56e
...@@ -240,7 +240,7 @@ bool SbiScanner::NextSym() ...@@ -240,7 +240,7 @@ bool SbiScanner::NextSym()
{ pLine++; { pLine++;
goto eoln; } goto eoln; }
bSymbol = true; bSymbol = true;
short n = nCol; sal_uInt16 n = nCol;
for ( ; (theBasicCharClass::get().isAlphaNumeric( *pLine, bCompatible ) || ( *pLine == '_' ) ); pLine++ ) for ( ; (theBasicCharClass::get().isAlphaNumeric( *pLine, bCompatible ) || ( *pLine == '_' ) ); pLine++ )
nCol++; nCol++;
aSym = aLine.copy( n, nCol - n ); aSym = aLine.copy( n, nCol - n );
...@@ -424,7 +424,7 @@ bool SbiScanner::NextSym() ...@@ -424,7 +424,7 @@ bool SbiScanner::NextSym()
sal_Unicode cSep = *pLine; sal_Unicode cSep = *pLine;
if( cSep == '[' ) if( cSep == '[' )
bSymbol = true, cSep = ']'; bSymbol = true, cSep = ']';
short n = nCol+1; sal_uInt16 n = nCol + 1;
while( *pLine ) while( *pLine )
{ {
do pLine++, nCol++; do pLine++, nCol++;
...@@ -460,7 +460,7 @@ bool SbiScanner::NextSym() ...@@ -460,7 +460,7 @@ bool SbiScanner::NextSym()
// other groups: // other groups:
else else
{ {
short n = 1; sal_uInt8 n = 1;
switch( *pLine++ ) switch( *pLine++ )
{ {
case '<': if( *pLine == '>' || *pLine == '=' ) n = 2; break; case '<': if( *pLine == '>' || *pLine == '=' ) n = 2; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment