diff options
-rw-r--r-- | basic/source/comp/symtbl.cxx | 20 | ||||
-rw-r--r-- | basic/source/inc/symtbl.hxx | 1 |
2 files changed, 0 insertions, 21 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index a8ae8b4dd2c2..594b1d38f44b 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -200,26 +200,6 @@ SbiSymDef* SbiSymPool::Find( const OUString& rName ) } -const SbiSymDef* SbiSymPool::FindId( sal_uInt16 n ) const -{ - for( sal_uInt16 i = 0; i < aData.size(); i++ ) - { - const SbiSymDef &r = aData[ i ]; - if( r.nId == n && ( !r.nProcId || ( r.nProcId == nProcId ) ) ) - { - return &r; - } - } - if( pParent ) - { - return pParent->FindId( n ); - } - else - { - return NULL; - } -} - // find via position (from 0) SbiSymDef* SbiSymPool::Get( sal_uInt16 n ) diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index 69f0d849f28c..a1f98b165ab0 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -79,7 +79,6 @@ public: SbiProcDef* AddProc( const OUString& ); void Add( SbiSymDef* ); SbiSymDef* Find( const OUString& ); // variable name - const SbiSymDef* FindId( sal_uInt16 ) const; SbiSymDef* Get( sal_uInt16 ); // find variable per position SbiSymDef* First(), *Next(); // iterators |