From f288d7dcbd65e86e2c4f6519fac91eece8f01034 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 26 Mar 2014 11:18:51 +0200 Subject: basic: sal_Bool->bool Change-Id: Id4952b6f97f9e8f917fea5651dee91499d109e48 --- basic/source/runtime/props.cxx | 4 ++-- basic/source/runtime/runtime.cxx | 6 +++--- basic/source/runtime/stdobj.cxx | 2 +- basic/source/runtime/stdobj1.cxx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'basic/source/runtime') diff --git a/basic/source/runtime/props.cxx b/basic/source/runtime/props.cxx index 14566f50aada..78bd326001c5 100644 --- a/basic/source/runtime/props.cxx +++ b/basic/source/runtime/props.cxx @@ -64,7 +64,7 @@ RTLFUNC(False) (void)pBasic; (void)bWrite; - rPar.Get(0)->PutBool( sal_False ); + rPar.Get(0)->PutBool( false ); } RTLFUNC(Empty) @@ -105,7 +105,7 @@ RTLFUNC(True) (void)pBasic; (void)bWrite; - rPar.Get( 0 )->PutBool( sal_True ); + rPar.Get( 0 )->PutBool( true ); } RTLFUNC(ATTR_NORMAL) diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 66026e0deefc..312dd17ff590 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1421,7 +1421,7 @@ void SbiRuntime::StepCompare( SbxOperator eOp ) if( !pTRUE ) { pTRUE = new SbxVariable; - pTRUE->PutBool( sal_True ); + pTRUE->PutBool( true ); pTRUE->AddRef(); } PushVar( pTRUE ); @@ -1431,7 +1431,7 @@ void SbiRuntime::StepCompare( SbxOperator eOp ) if( !pFALSE ) { pFALSE = new SbxVariable; - pFALSE->PutBool( sal_False ); + pFALSE->PutBool( false ); pFALSE->AddRef(); } PushVar( pFALSE ); @@ -3172,7 +3172,7 @@ void SbiRuntime::StepRESUME( sal_uInt32 nOp1 ) { // set Code-pointer to the next statement sal_uInt16 n1, n2; - pCode = pMod->FindNextStmnt( pErrCode, n1, n2, sal_True, pImg ); + pCode = pMod->FindNextStmnt( pErrCode, n1, n2, true, pImg ); } else pCode = pErrStmnt; diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx index 43fd11cbfbd8..5e46c9b00e8f 100644 --- a/basic/source/runtime/stdobj.cxx +++ b/basic/source/runtime/stdobj.cxx @@ -814,7 +814,7 @@ SbxVariable* SbiStdObject::Find( const OUString& rName, SbxClassType t ) } // SetModified must be pinched off at the RTL -void SbiStdObject::SetModified( sal_Bool ) +void SbiStdObject::SetModified( bool ) { } diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx index c0dc04f73b24..1d046983874e 100644 --- a/basic/source/runtime/stdobj1.cxx +++ b/basic/source/runtime/stdobj1.cxx @@ -347,7 +347,7 @@ void SbStdClipboard::MethGetFormat( SbxVariable* pVar, SbxArray* pPar_, sal_Bool return; } - pVar->PutBool( sal_False ); + pVar->PutBool( false ); } void SbStdClipboard::MethGetText( SbxVariable* pVar, SbxArray* pPar_, sal_Bool ) -- cgit