diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-12 21:08:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-13 10:25:31 +0100 |
commit | 61ad99a50c1e327d81bc61f7b681cf144facf2c9 (patch) | |
tree | ab5d56856d38b8d4f8b5e071bdd09d414207d572 /rsc/source | |
parent | dd69ff6ea20bf43b08b8de951c750853a62d3335 (diff) |
callcatcher: strip rsc down by more unused methods
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscdb.cxx | 9 | ||||
-rw-r--r-- | rsc/source/tools/rscdef.cxx | 77 |
2 files changed, 0 insertions, 86 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx index 5bfa6ea6e49d..1c7e544e18eb 100644 --- a/rsc/source/parser/rscdb.cxx +++ b/rsc/source/parser/rscdb.cxx @@ -315,15 +315,6 @@ RscTop * RscTypCont::SearchType( Atom nId ) /************************************************************************* |* -|* RscTypCont :: Search -|* -*************************************************************************/ -RscTop * RscTypCont :: Search( Atom nRT ){ - return( (RscTop *)pRoot->Search( nRT ) ); -} - -/************************************************************************* -|* |* RscTypCont :: PutSysName() |* *************************************************************************/ diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx index eab8bbb63ae7..8f8754d1b205 100644 --- a/rsc/source/tools/rscdef.cxx +++ b/rsc/source/tools/rscdef.cxx @@ -246,26 +246,6 @@ void RscDefine::DefineToNumber() /************************************************************************* |* -|* RscDefine::ChangeMacro() -|* -*************************************************************************/ -void RscDefine::ChangeMacro( RscExpression * pExpression ){ - if( pExp ) - delete pExp; - pExp = pExpression; - pExp->Evaluate( &lId ); -} - -void RscDefine::ChangeMacro( sal_Int32 lIdentifier ){ - if( pExp ){ - delete pExp; - pExp = NULL; - } - lId = lIdentifier; -} - -/************************************************************************* -|* |* RscDefine::Evaluate() |* *************************************************************************/ @@ -341,23 +321,6 @@ RscDefine * RscDefineList::New( sal_uLong lFileKey, const ByteString & rDefName, return pDef; } -/************************************************************************* -|* -|* RscDefineList::Remove() -|* -*************************************************************************/ -sal_Bool RscDefineList::Remove( RscDefine * pDef ) { - for ( RscSubDefList::iterator it = maList.begin(); it < maList.end(); ++it ) { - if ( *it == pDef ) { - (*it)->DefineToNumber(); - (*it)->DecRef(); - maList.erase( it ); - return sal_True; - } - } - return sal_False; -} - sal_Bool RscDefineList::Remove() { if ( maList.empty() ) return sal_False; @@ -610,25 +573,6 @@ sal_Bool RscFile :: InsertDependFile( sal_uLong lIncFile, size_t lPos ) return sal_True; } -/************************************************************************* -|* -|* RscFile::RemoveDependFile() -|* -*************************************************************************/ -void RscFile :: RemoveDependFile( sal_uLong lDepFile ) -{ - for ( size_t i = aDepLst.size(); i > 0; ) - { - RscDepend* pDep = aDepLst[ --i ]; - if( pDep->GetFileKey() == lDepFile ) { - RscDependList::iterator it = aDepLst.begin(); - ::std::advance( it, i ); - delete *it; - aDepLst.erase( it ); - } - } -} - /****************** R s c D e f T r e e **********************************/ /************************************************************************* |* @@ -705,10 +649,6 @@ sal_Bool RscDefTree::Evaluate( RscDefine * pDef ){ return sal_True; } -sal_Bool RscDefTree::Evaluate(){ - return Evaluate( pDefRoot ); -} - /****************** R s c F i l e T a b **********************************/ /************************************************************************* |* @@ -766,23 +706,6 @@ RscDefine * RscFileTab::FindDef( const char * pName ){ /************************************************************************* |* -|* RscFileTab::FindDef() -|* -*************************************************************************/ -RscDefine * RscFileTab::FindDef( sal_uLong lFileKey, const ByteString & rName ) -{ - RscDefine * pDef = FindDef( rName ); - - if( pDef ) - //befindet sich das DEFINE in einer Include-Datei in der - //Datei lFileKey - if( Depend( lFileKey, pDef->GetFileKey() ) ) - return pDef; - return NULL; -} - -/************************************************************************* -|* |* RscFileTab::Depend() |* *************************************************************************/ |