summaryrefslogtreecommitdiff
path: root/basic/source/comp/scanner.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/comp/scanner.cxx')
-rw-r--r--basic/source/comp/scanner.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx
index e3a622b81f45..b1053076fcb9 100644
--- a/basic/source/comp/scanner.cxx
+++ b/basic/source/comp/scanner.cxx
@@ -359,7 +359,7 @@ bool SbiScanner::NextSym()
aSym = p; bNumber = true;
// For bad characters, scan and parse errors generate only one error.
- SbError nError = 0;
+ ErrCode nError = ERRCODE_NONE;
if (bScanError)
{
--pLine;