From acc5c0734cf1d403c2ae9e70010e216563718e25 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 30 Sep 2011 09:08:55 +0100 Subject: callcatcher: remove newly unused code --- basic/source/inc/runtime.hxx | 1 - basic/source/runtime/runtime.cxx | 11 ----------- 2 files changed, 12 deletions(-) (limited to 'basic') diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index b81e88b2db64..b23a0b1b1612 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -210,7 +210,6 @@ public: SbMethod* GetCaller( sal_uInt16 ); SbModule* GetActiveModule(); - SbxArray* GetLocals( SbMethod* ); SbiIoSystem* GetIoSystem() { return pIosys; } SbiDdeControl* GetDdeControl() { return pDdeCtrl; } diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index af18d7129ce5..f778fbb92b26 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -516,17 +516,6 @@ SbMethod* SbiInstance::GetCaller( sal_uInt16 nLevel ) return NULL; } -SbxArray* SbiInstance::GetLocals( SbMethod* pMeth ) -{ - SbiRuntime* p = pRun; - while( p && p->GetMethod() != pMeth ) - p = p->pNext; - if( p ) - return p->GetLocals(); - else - return NULL; -} - // SbiInstance // // Attention: pMeth can also be NULL (on a call of the init-code) -- cgit