summaryrefslogtreecommitdiff
path: root/basic/source/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-08-03 10:28:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-08-03 10:29:31 +0900
commit621145a777ec6ac918bd822bfc4ece1f75900bb1 (patch)
tree6e45ab4e31167f8b1f3bd851c56fddcad1eb99a4 /basic/source/inc
parentad99d4eeb60d4d18a93fcc78973b5f5dd20c0fbb (diff)
sal_Bool -> bool
Change-Id: I49749f327d6a9c3661ef9bd684647e0a45b9203a
Diffstat (limited to 'basic/source/inc')
-rw-r--r--basic/source/inc/buffer.hxx16
-rw-r--r--basic/source/inc/codegen.hxx2
2 files changed, 9 insertions, 9 deletions
diff --git a/basic/source/inc/buffer.hxx b/basic/source/inc/buffer.hxx
index 62a92acf0c62..08a1f2f5f2df 100644
--- a/basic/source/inc/buffer.hxx
+++ b/basic/source/inc/buffer.hxx
@@ -32,19 +32,19 @@ class SbiBuffer {
sal_uInt32 nOff;
sal_uInt32 nSize;
short nInc;
- sal_Bool Check( sal_uInt16 );
+ bool Check( sal_uInt16 );
public:
SbiBuffer( SbiParser*, short ); // increment
~SbiBuffer();
void Patch( sal_uInt32, sal_uInt32 );
void Chain( sal_uInt32 );
- sal_Bool operator += (const String&); // save basic-string
- sal_Bool operator += (sal_Int8); // save character
- sal_Bool operator += (sal_Int16); // save integer
- sal_Bool operator += (sal_uInt8); // save character
- sal_Bool operator += (sal_uInt16); // save integer
- sal_Bool operator += (sal_uInt32); // save integer
- sal_Bool operator += (sal_Int32); // save integer
+ bool operator += (const String&); // save basic-string
+ bool operator += (sal_Int8); // save character
+ bool operator += (sal_Int16); // save integer
+ bool operator += (sal_uInt8); // save character
+ bool operator += (sal_uInt16); // save integer
+ bool operator += (sal_uInt32); // save integer
+ bool operator += (sal_Int32); // save integer
char* GetBuffer(); // give out buffer (delete yourself!)
char* GetBufferPtr(){ return pBuf; }
sal_uInt32 GetSize() { return nOff; }
diff --git a/basic/source/inc/codegen.hxx b/basic/source/inc/codegen.hxx
index f1ef5a7d62c2..246ff167ce79 100644
--- a/basic/source/inc/codegen.hxx
+++ b/basic/source/inc/codegen.hxx
@@ -31,7 +31,7 @@ class SbiCodeGen {
SbiBuffer aCode;
short nLine, nCol; // for stmnt command
short nForLevel; // #29955
- sal_Bool bStmnt; // sal_True: statement-opcode is pending
+ bool bStmnt; // true: statement-opcode is pending
public:
SbiCodeGen( SbModule&, SbiParser*, short );
SbiParser* GetParser() { return pParser; }