diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/scanner.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index 23599d4f95fe..f3ba9bd36667 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #include "basiccharclass.hxx" #include "sbcomp.hxx" @@ -297,7 +296,7 @@ bool SbiScanner::NextSym() { if(nCol < aLine.getLength()) { - SbxDataType t = GetSuffixType( *pLine ); + SbxDataType t(GetSuffixType(aLine[nCol])); if( t != SbxVARIANT ) { eScanType = t; |