diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-04 09:57:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-04 13:44:16 +0200 |
commit | 88ab8181d95272bea1b15c88fcc127e7be836454 (patch) | |
tree | 8a9dd5b114d2163f533d96e46082372f5ae1887f /basic | |
parent | 214751e3cc5b154d90963f4abf0a9317733b001b (diff) |
SbxObject::isClass sal_Bool->bool
Change-Id: I71f7b3603df43924d7374969444b929e1eecca4e
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/sbobjmod.hxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 6 | ||||
-rw-r--r-- | basic/source/sbx/sbxobj.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/basic/inc/sbobjmod.hxx b/basic/inc/sbobjmod.hxx index b5b422d58e62..66ddc42bda18 100644 --- a/basic/inc/sbobjmod.hxx +++ b/basic/inc/sbobjmod.hxx @@ -95,7 +95,7 @@ public: SbUserFormModuleInstance( SbUserFormModule* pParentModule, const OUString& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVBACompat ); - virtual sal_Bool IsClass( const OUString& ) const SAL_OVERRIDE; + virtual bool IsClass( const OUString& ) const SAL_OVERRIDE; virtual SbxVariable* Find( const OUString& rName, SbxClassType t ) SAL_OVERRIDE; }; diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 6f6c6443cd81..2742603b40b8 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2594,10 +2594,10 @@ SbUserFormModuleInstance::SbUserFormModuleInstance( SbUserFormModule* pParentMod { } -sal_Bool SbUserFormModuleInstance::IsClass( const OUString& rName ) const +bool SbUserFormModuleInstance::IsClass( const OUString& rName ) const { - sal_Bool bParentNameMatches = m_pParentModule->GetName().equalsIgnoreAsciiCase( rName ); - sal_Bool bRet = bParentNameMatches || SbxObject::IsClass( rName ); + bool bParentNameMatches = m_pParentModule->GetName().equalsIgnoreAsciiCase( rName ); + bool bRet = bParentNameMatches || SbxObject::IsClass( rName ); return bRet; } diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index e2fd6f250f6b..9bf8fc406d36 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -172,9 +172,9 @@ void SbxObject::SFX_NOTIFY( SfxBroadcaster&, const TypeId&, } } -sal_Bool SbxObject::IsClass( const OUString& rName ) const +bool SbxObject::IsClass( const OUString& rName ) const { - return sal_Bool( aClassName.equalsIgnoreAsciiCase( rName ) ); + return aClassName.equalsIgnoreAsciiCase( rName ); } SbxVariable* SbxObject::FindUserData( sal_uInt32 nData ) |