diff options
Diffstat (limited to 'basic/source/classes/sb.cxx')
-rw-r--r-- | basic/source/classes/sb.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index ce37b301b5cb..0256f885d61e 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1127,14 +1127,6 @@ sal_Bool StarBASIC::Compile( SbModule* pMod ) return pMod ? pMod->Compile() : sal_False; } -sal_Bool StarBASIC::Disassemble( SbModule* pMod, String& rText ) -{ - rText.Erase(); - if( pMod ) - pMod->Disassemble( rText ); - return sal_Bool( rText.Len() != 0 ); -} - void StarBASIC::Clear() { while( pModules->Count() ) @@ -1290,19 +1282,6 @@ void StarBASIC::DeInitAllModules( void ) } } -// #43011 For TestTool, to delete global vars -void StarBASIC::ClearGlobalVars( void ) -{ - SbxArrayRef xProps( GetProperties() ); - sal_uInt16 nPropCount = xProps->Count(); - for ( sal_uInt16 nProp = 0 ; nProp < nPropCount ; ++nProp ) - { - SbxBase* pVar = xProps->Get( nProp ); - pVar->Clear(); - } - SetModified( sal_True ); -} - // This implementation at first searches within the runtime library, // then it looks for an element within one module. This moudle can be // a public var or an entrypoint. If it is not found and we look for a |