diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-09-08 22:59:22 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-09-08 23:05:11 +0900 |
commit | 969e6870e8e4c7b4452928d821ffe61384a376b1 (patch) | |
tree | f44f4d4771a7aeddab1d407bbd2cc7e2a8993231 /basic/source/runtime | |
parent | ec580b3a1d9bc240479dcce6fca07b6d83c35e1a (diff) |
sal_Bool to bool
Change-Id: I86e5b49ccc9737517ecde17dbdaba44eeaee2371
Diffstat (limited to 'basic/source/runtime')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 8 | ||||
-rw-r--r-- | basic/source/runtime/step2.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index f81e99dd89a5..803fb85b0585 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -50,7 +50,7 @@ bool SbiRuntime::isVBAEnabled() return result; } -void StarBASIC::SetVBAEnabled( sal_Bool bEnabled ) +void StarBASIC::SetVBAEnabled( bool bEnabled ) { if ( bDocBasic ) { @@ -58,15 +58,15 @@ void StarBASIC::SetVBAEnabled( sal_Bool bEnabled ) } } -sal_Bool StarBASIC::isVBAEnabled() +bool StarBASIC::isVBAEnabled() { if ( bDocBasic ) { if( SbiRuntime::isVBAEnabled() ) - return sal_True; + return true; return bVBAEnabled; } - return sal_False; + return false; } diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx index b1cc6609b2cb..ad151a72b07d 100644 --- a/basic/source/runtime/step2.cxx +++ b/basic/source/runtime/step2.cxx @@ -95,8 +95,8 @@ SbxVariable* SbiRuntime::FindElement } if( !pElem ) { - sal_Bool bSave = rBasic.bNoRtl; - rBasic.bNoRtl = sal_True; + bool bSave = rBasic.bNoRtl; + rBasic.bNoRtl = true; pElem = pObj->Find( aName, SbxCLASS_DONTCARE ); // #110004, #112015: Make private really private @@ -317,8 +317,8 @@ SbxBase* SbiRuntime::FindElementExtern( const String& rName ) // search in module if( !pElem ) { - sal_Bool bSave = rBasic.bNoRtl; - rBasic.bNoRtl = sal_True; + bool bSave = rBasic.bNoRtl; + rBasic.bNoRtl = true; pElem = pMod->Find( rName, SbxCLASS_DONTCARE ); rBasic.bNoRtl = bSave; } |