diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-12 11:05:18 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-12 17:01:17 +0200 |
commit | 04c025a3fd3aaaf048f456d0f348199519af15ab (patch) | |
tree | 658c056c160fdf62871414372d10436c5e0a4e7a /basic/source/classes/sb.cxx | |
parent | 0712e5233c1e6c452f5c888351870047673f0da6 (diff) |
callcatcher: remove unused StarBASIC::ActivateObject
Diffstat (limited to 'basic/source/classes/sb.cxx')
-rw-r--r-- | basic/source/classes/sb.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 221286e91142..c4535eb63fc7 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1434,40 +1434,6 @@ sal_Bool StarBASIC::IsRunning() /************************************************************************** * -* Object factories and others -* -**************************************************************************/ - -// Activation of an object. There is no need to access active objects -// with name via BASIC. If NULL is given, everything is activated. -void StarBASIC::ActivateObject( const String* pName, sal_Bool bActivate ) -{ - if( pName ) - { - SbxObject* p = (SbxObject*) SbxObject::Find( *pName, SbxCLASS_OBJECT ); - if( p ) - { - if( bActivate ) - p->SetFlag( SBX_EXTSEARCH ); - else - p->ResetFlag( SBX_EXTSEARCH ); - } - } - else - { - for( sal_uInt16 i = 0; i < GetObjects()->Count(); i++ ) - { - SbxObject* p = (SbxObject*) GetObjects()->Get( i ); - if( bActivate ) - p->SetFlag( SBX_EXTSEARCH ); - else - p->ResetFlag( SBX_EXTSEARCH ); - } - } -} - -/************************************************************************** -* * Debugging and error handling * **************************************************************************/ |