summaryrefslogtreecommitdiffstats
path: root/basic/source/inc/scanner.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-08-12 09:07:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-08-12 09:16:58 +0900
commit1817cf60d1d5461b57b9b6fdb0b2849bb29389a8 (patch)
treebe18508a066566569701a40d9dda51edd029b637 /basic/source/inc/scanner.hxx
parentadd nss to old-school build.lst now (diff)
downloadcore-1817cf60d1d5461b57b9b6fdb0b2849bb29389a8.tar.gz
core-1817cf60d1d5461b57b9b6fdb0b2849bb29389a8.zip
sal_Bool to bool
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
Diffstat (limited to 'basic/source/inc/scanner.hxx')
-rw-r--r--basic/source/inc/scanner.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/basic/source/inc/scanner.hxx b/basic/source/inc/scanner.hxx
index d0dd44a34af5..0697b10f5737 100644
--- a/basic/source/inc/scanner.hxx
+++ b/basic/source/inc/scanner.hxx
@@ -53,16 +53,16 @@ protected:
sal_Int32 nBufPos;
sal_Int32 nLine;
sal_Int32 nCol1, nCol2;
- bool bSymbol; // sal_True: symbol scanned
- bool bNumber; // sal_True: number scanned
- bool bSpaces; // sal_True: whitespace before token
- bool bErrors; // sal_True: generate errors
+ bool bSymbol; // true: symbol scanned
+ bool bNumber; // true: number scanned
+ bool bSpaces; // true: whitespace before token
+ bool bErrors; // true: generate errors
bool bAbort;
- bool bHash; // sal_True: # has been read in
- bool bError; // sal_True: generate error
- 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 "... _"
+ bool bHash; // true: # has been read in
+ bool bError; // true: generate error
+ bool bCompatible; // true: OPTION compatible
+ bool bVBASupportOn; // true: OPTION VBASupport 1 otherwise default False
+ bool bPrevLineExtentsComment; // true: Previous line is comment and ends on "... _"
bool bInStatement;
void GenError( SbError );
@@ -70,7 +70,7 @@ public:
SbiScanner( const ::rtl::OUString&, StarBASIC* = NULL );
~SbiScanner();
- void EnableErrors() { bError = sal_False; }
+ void EnableErrors() { bError = false; }
bool IsHash() { return bHash; }
bool IsCompatible() { return bCompatible; }
void SetCompatible( bool b ) { bCompatible = b; } // #118206