From 911e412b872f23e46701a6a0f0edc8fcca4ced3b Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 24 Aug 2012 12:58:24 +0900 Subject: sal_Bool to bool Change-Id: I96fe31c80f952b1ac6d25c65431597d81e0fdda3 --- basic/source/sbx/sbxexec.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'basic/source/sbx/sbxexec.cxx') diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx index 738f0ad6cf0a..ef7952f97786 100644 --- a/basic/source/sbx/sbxexec.cxx +++ b/basic/source/sbx/sbxexec.cxx @@ -25,21 +25,21 @@ class SbxSimpleCharClass { public: - sal_Bool isAlpha( sal_Unicode c ) const + bool isAlpha( sal_Unicode c ) const { - sal_Bool bRet = (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); + bool bRet = (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); return bRet; } - sal_Bool isDigit( sal_Unicode c ) const + bool isDigit( sal_Unicode c ) const { - sal_Bool bRet = (c >= '0' && c <= '9'); + bool bRet = (c >= '0' && c <= '9'); return bRet; } - sal_Bool isAlphaNumeric( sal_Unicode c ) const + bool isAlphaNumeric( sal_Unicode c ) const { - sal_Bool bRet = isDigit( c ) || isAlpha( c ); + bool bRet = isDigit( c ) || isAlpha( c ); return bRet; } }; @@ -131,7 +131,7 @@ static SbxVariable* QualifiedName // a function (with optional parameters). static SbxVariable* Operand - ( SbxObject* pObj, SbxObject* pGbl, const xub_Unicode** ppBuf, sal_Bool bVar ) + ( SbxObject* pObj, SbxObject* pGbl, const xub_Unicode** ppBuf, bool bVar ) { static SbxSimpleCharClass aCharClass; @@ -181,12 +181,12 @@ static SbxVariable* Operand static SbxVariable* MulDiv( SbxObject* pObj, SbxObject* pGbl, const xub_Unicode** ppBuf ) { const xub_Unicode* p = *ppBuf; - SbxVariableRef refVar( Operand( pObj, pGbl, &p, sal_False ) ); + SbxVariableRef refVar( Operand( pObj, pGbl, &p, false ) ); p = SkipWhitespace( p ); while( refVar.Is() && ( *p == '*' || *p == '/' ) ) { xub_Unicode cOp = *p++; - SbxVariableRef refVar2( Operand( pObj, pGbl, &p, sal_False ) ); + SbxVariableRef refVar2( Operand( pObj, pGbl, &p, false ) ); if( refVar2.Is() ) { // temporary variable! @@ -245,7 +245,7 @@ static SbxVariable* PlusMinus( SbxObject* pObj, SbxObject* pGbl, const xub_Unico static SbxVariable* Assign( SbxObject* pObj, SbxObject* pGbl, const xub_Unicode** ppBuf ) { const xub_Unicode* p = *ppBuf; - SbxVariableRef refVar( Operand( pObj, pGbl, &p, sal_True ) ); + SbxVariableRef refVar( Operand( pObj, pGbl, &p, true ) ); p = SkipWhitespace( p ); if( refVar.Is() ) { -- cgit