From bbf17fad476b9f05e12e0e96e93070e51e0facce Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 30 Aug 2011 16:02:29 +0100 Subject: only thing left that calls FillListObj is itself --- rsc/source/misc/rscdbl.cxx | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'rsc/source') diff --git a/rsc/source/misc/rscdbl.cxx b/rsc/source/misc/rscdbl.cxx index aeac4ba4399e..874b33a0383d 100644 --- a/rsc/source/misc/rscdbl.cxx +++ b/rsc/source/misc/rscdbl.cxx @@ -71,28 +71,4 @@ void FillSubList( RSCINST & rInst, REResourceList * pList ) }; } -void FillListObj( ObjNode * pObjNode, RscTop * pRscTop, - REResourceList * pList, sal_uLong lFileKey ) -{ - if( pObjNode ){ - if( pObjNode->GetFileKey() == lFileKey ){ - RSCINST aTmpI; - REResourceList* pSubList; - - FillListObj( (ObjNode*)pObjNode->Left(), pRscTop, - pList, lFileKey ); - - pSubList = InsertList( pRscTop->GetId(), - pObjNode->GetRscId(), pList ); - - aTmpI.pClass = pRscTop; - aTmpI.pData = pObjNode->GetRscObj(); - FillSubList( aTmpI, pSubList ); - - FillListObj( (ObjNode*)pObjNode->Right(), pRscTop, - pList, lFileKey ); - } - }; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit