callcatcher: remove unused code post automation removal

This commit is contained in:
Caolán McNamara
2011-12-09 11:45:24 +00:00
parent 17d5cdfff9
commit 87ec1f8857
54 changed files with 23 additions and 1269 deletions

View File

@@ -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