From 969e6870e8e4c7b4452928d821ffe61384a376b1 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 8 Sep 2012 22:59:22 +0900 Subject: sal_Bool to bool Change-Id: I86e5b49ccc9737517ecde17dbdaba44eeaee2371 --- basic/source/runtime/runtime.cxx | 8 ++++---- basic/source/runtime/step2.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'basic/source/runtime') 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; } -- cgit