diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 09:08:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 09:09:27 +0100 |
commit | acc5c0734cf1d403c2ae9e70010e216563718e25 (patch) | |
tree | b8bf66a45dbcd00d56fc425a38fb37468be6cd36 /basic | |
parent | use read_uInt8s_AsOString instead of hand-crafted loop (diff) | |
download | core-acc5c0734cf1d403c2ae9e70010e216563718e25.tar.gz core-acc5c0734cf1d403c2ae9e70010e216563718e25.zip |
callcatcher: remove newly unused code
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/runtime.hxx | 1 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 11 |
2 files changed, 0 insertions, 12 deletions
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) |