summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-13 07:44:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-13 10:11:43 +0000
commit5258afdc70f47f9dbaba5953214d3f312739faa5 (patch)
treed0694c84a8a07a0200e06192f757b04cde009612 /basic
parente008580f6559ccf5d6cda08802020bb92e1cb21a (diff)
bUsedForHilite always false
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/scanner.cxx3
-rw-r--r--basic/source/inc/scanner.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx
index e1a5c756b072..1c49f98687de 100644
--- a/basic/source/comp/scanner.cxx
+++ b/basic/source/comp/scanner.cxx
@@ -52,7 +52,6 @@ SbiScanner::SbiScanner( const ::rtl::OUString& rBuf, StarBASIC* p ) : aBuf( rBuf
bSpaces =
bNumber =
bSymbol =
- bUsedForHilite =
bCompatible =
bVBASupportOn =
bPrevLineExtentsComment = sal_False;
@@ -260,7 +259,7 @@ bool SbiScanner::NextSym()
// replace closing '_' by space when end of line is following
// (wrong line continuation otherwise)
- if( !bUsedForHilite && !*pLine && *(pLine-1) == '_' )
+ if( !*pLine && *(pLine-1) == '_' )
{
// We are going to modify a potentially shared string, so force
// a copy, so that aSym is not modified by the following operation
diff --git a/basic/source/inc/scanner.hxx b/basic/source/inc/scanner.hxx
index 1bb554bd24ea..96b06580b532 100644
--- a/basic/source/inc/scanner.hxx
+++ b/basic/source/inc/scanner.hxx
@@ -69,7 +69,6 @@ protected:
bool bAbort;
bool bHash; // sal_True: # has been read in
bool bError; // sal_True: generate error
- bool bUsedForHilite;
bool bCompatible; // sal_True: OPTION compatible
bool bVBASupportOn; // sal_True: OPTION VBASupport 1 otherwise default False
bool bPrevLineExtentsComment; // sal_True: Previous line is comment and ends on "... _"