diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-07-18 23:11:02 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-07-18 23:24:58 +0900 |
commit | 50725318e455e48869f0b65437d460553a8b639b (patch) | |
tree | 5a12ae1e74ddd8e4e0a44e242becde260a1ea21d /basic | |
parent | 9f2dc12e611e5706469889c03fa5b11a6ab6e297 (diff) |
Drop an unused function
Change-Id: I59eb46f9d57e9fd72ed86c972685be93d154e3c7
Diffstat (limited to 'basic')
-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 |