Kaydet (Commit) 50725318 authored tarafından Takeshi Abe's avatar Takeshi Abe

Drop an unused function

Change-Id: I59eb46f9d57e9fd72ed86c972685be93d154e3c7
üst 9f2dc12e
......@@ -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 )
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment