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

Use sal_uInt16 here

üst 6ddc99b1
...@@ -152,7 +152,7 @@ static SbxDataType GetSuffixType( sal_Unicode c ) ...@@ -152,7 +152,7 @@ static SbxDataType GetSuffixType( sal_Unicode c )
void SbiScanner::scanGoto() void SbiScanner::scanGoto()
{ {
short nTestCol = nCol; sal_uInt16 nTestCol = nCol;
while(nTestCol < aLine.getLength() && theBasicCharClass::get().isWhitespace(aLine[nTestCol])) while(nTestCol < aLine.getLength() && theBasicCharClass::get().isWhitespace(aLine[nTestCol]))
nTestCol++; nTestCol++;
...@@ -162,7 +162,7 @@ void SbiScanner::scanGoto() ...@@ -162,7 +162,7 @@ void SbiScanner::scanGoto()
if(aTestSym.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("to"))) if(aTestSym.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("to")))
{ {
aSym = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("goto")); aSym = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("goto"));
pLine += (nTestCol - nCol) + 2; pLine += nTestCol + 2 - nCol;
nCol = nTestCol + 2; nCol = nTestCol + 2;
} }
} }
......
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