[Libreoffice-commits] core.git: basic/source
Takeshi Abe
tabe at fixedpoint.jp
Fri Jul 18 07:25:40 PDT 2014
basic/source/comp/symtbl.cxx | 20 --------------------
basic/source/inc/symtbl.hxx | 1 -
2 files changed, 21 deletions(-)
New commits:
commit 50725318e455e48869f0b65437d460553a8b639b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Fri Jul 18 23:11:02 2014 +0900
Drop an unused function
Change-Id: I59eb46f9d57e9fd72ed86c972685be93d154e3c7
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index a8ae8b4..594b1d3 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 69f0d84..a1f98b1 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
More information about the Libreoffice-commits
mailing list