summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-04 10:11:25 +0200
committerNoel Grandin <noel@peralex.com>2014-04-04 13:44:16 +0200
commit2d1eaee66b12fc0fdc7acdd911a63f5b68d5a196 (patch)
tree51fc2e007c7b49779043146489662571439506a0 /basic
parent88ab8181d95272bea1b15c88fcc127e7be836454 (diff)
SbxObject::Call sal_Bool->bool
Change-Id: I2e52ddf704679a118fbbc4efebb7cf9fb36f0c34
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sb.cxx4
-rw-r--r--basic/source/sbx/sbxobj.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index 8c5fe1b3167d..c1d93636f070 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1379,9 +1379,9 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t )
return pRes;
}
-sal_Bool StarBASIC::Call( const OUString& rName, SbxArray* pParam )
+bool StarBASIC::Call( const OUString& rName, SbxArray* pParam )
{
- sal_Bool bRes = SbxObject::Call( rName, pParam );
+ bool bRes = SbxObject::Call( rName, pParam );
if( !bRes )
{
SbxError eErr = SbxBase::GetError();
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 9bf8fc406d36..6b43ec6f3a49 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -297,7 +297,7 @@ SbxVariable* SbxObject::Find( const OUString& rName, SbxClassType t )
// The whole thing recursive, because Call() might be overloaded
// Qualified names are allowed
-sal_Bool SbxObject::Call( const OUString& rName, SbxArray* pParam )
+bool SbxObject::Call( const OUString& rName, SbxArray* pParam )
{
SbxVariable* pMeth = FindQualified( rName, SbxCLASS_DONTCARE);
if( pMeth && pMeth->ISA(SbxMethod) )
@@ -309,10 +309,10 @@ sal_Bool SbxObject::Call( const OUString& rName, SbxArray* pParam )
}
pMeth->Broadcast( SBX_HINT_DATAWANTED );
pMeth->SetParameters( NULL );
- return sal_True;
+ return true;
}
SetError( SbxERR_NO_METHOD );
- return sal_False;
+ return false;
}
SbxProperty* SbxObject::GetDfltProperty()