summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-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 bb263a802f12..e3a622b81f45 100644
--- a/basic/source/comp/scanner.cxx
+++ b/basic/source/comp/scanner.cxx
@@ -569,7 +569,7 @@ eoln:
{
pLine = nullptr;
bool bRes = NextSym();
- if( bVBASupportOn && aSym[0] == '.' )
+ if( bVBASupportOn && aSym.startsWith(".") )
{
// object _
// .Method