diff options
author | August Sodora <augsod@gmail.com> | 2011-11-18 22:27:45 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-11-18 22:27:45 -0500 |
commit | edc4118e18f3e7496046636d9f8587f78eed4223 (patch) | |
tree | db16d160b3b2ffd0f53958f737c192b628974da2 | |
parent | 76f4712c7d1382752edfc153e3879fb447e70db5 (diff) |
Fix scanning bug
-rw-r--r-- | basic/source/comp/scanner.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index 09e96bc235b4..3336f0d4ce5d 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -173,7 +173,7 @@ void SbiScanner::scanGoto() if(aTestSym.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("to"))) { aSym = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("goto")); - pLine = pLine + (nCol - nTestCol) + 2; + pLine += (nTestCol - nCol) + 2; nCol = nTestCol + 2; } } |