summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxexec.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-08-24 12:58:24 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-08-24 12:58:56 +0900
commit911e412b872f23e46701a6a0f0edc8fcca4ced3b (patch)
tree5b8184ebff119453b5a786a7ec1945ea6760c848 /basic/source/sbx/sbxexec.cxx
parent515b260cb4dd6d0615919b4c6703f1a1d24d1eba (diff)
sal_Bool to bool
Change-Id: I96fe31c80f952b1ac6d25c65431597d81e0fdda3
Diffstat (limited to 'basic/source/sbx/sbxexec.cxx')
-rw-r--r--basic/source/sbx/sbxexec.cxx20
1 files changed, 10 insertions, 10 deletions
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() )
{