callcatcher: remove unused code post automation removal
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user