summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "... _"