diff options
author | August Sodora <augsod@gmail.com> | 2011-12-05 17:41:28 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-05 17:42:26 -0500 |
commit | 971bf1aa4c043ef49e4857204ea49de48707a86a (patch) | |
tree | f25e16b2828568a719b6d51f1fa1c6dbb5421f08 /basic/source/comp/scanner.cxx | |
parent | 5ccc0361bf3a0be5a123679e6086bc4a03ab1d7b (diff) |
Use sal_Int32 in all these places
Diffstat (limited to 'basic/source/comp/scanner.cxx')
-rw-r--r-- | basic/source/comp/scanner.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index 4b4ba2357536..e1a5c756b072 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -91,7 +91,7 @@ void SbiScanner::GenError( SbError code ) { // in case of EXPECTED or UNEXPECTED it always refers // to the last token, so take the Col1 over - sal_uInt16 nc = nColLock ? nSavedCol1 : nCol1; + sal_Int32 nc = nColLock ? nSavedCol1 : nCol1; switch( code ) { case SbERR_EXPECTED: @@ -152,7 +152,7 @@ static SbxDataType GetSuffixType( sal_Unicode c ) void SbiScanner::scanAlphanumeric() { - sal_uInt16 n = nCol; + sal_Int32 n = nCol; while(theBasicCharClass::get().isAlphaNumeric(*pLine, bCompatible) || *pLine == '_') { pLine++; @@ -163,7 +163,7 @@ void SbiScanner::scanAlphanumeric() void SbiScanner::scanGoto() { - sal_uInt16 nTestCol = nCol; + sal_Int32 nTestCol = nCol; while(nTestCol < aLine.getLength() && theBasicCharClass::get().isWhitespace(aLine[nTestCol])) nTestCol++; @@ -182,9 +182,9 @@ void SbiScanner::scanGoto() bool SbiScanner::NextSym() { // memorize for the EOLN-case - sal_uInt16 nOldLine = nLine; - sal_uInt16 nOldCol1 = nCol1; - sal_uInt16 nOldCol2 = nCol2; + sal_Int32 nOldLine = nLine; + sal_Int32 nOldCol1 = nCol1; + sal_Int32 nOldCol2 = nCol2; sal_Unicode buf[ BUF_SIZE ], *p = buf; bHash = false; @@ -433,7 +433,7 @@ bool SbiScanner::NextSym() sal_Unicode cSep = *pLine; if( cSep == '[' ) bSymbol = true, cSep = ']'; - sal_uInt16 n = nCol + 1; + sal_Int32 n = nCol + 1; while( *pLine ) { do pLine++, nCol++; @@ -469,7 +469,7 @@ bool SbiScanner::NextSym() // other groups: else { - sal_uInt8 n = 1; + sal_Int32 n = 1; switch( *pLine++ ) { case '<': if( *pLine == '>' || *pLine == '=' ) n = 2; break; @@ -489,7 +489,7 @@ PrevLineCommentLbl: { bPrevLineExtentsComment = false; aSym = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("REM")); - sal_uInt16 nLen = String( pLine ).Len(); + sal_Int32 nLen = String( pLine ).Len(); if( bCompatible && pLine[ nLen - 1 ] == '_' && pLine[ nLen - 2 ] == ' ' ) bPrevLineExtentsComment = true; nCol2 = nCol2 + nLen; |