csxhelp/HelpEngine/src/CSXHLegacyContentParser.cpp
branchRCL_3
changeset 5 d06b1526f62c
parent 0 1f04cf54edd8
child 12 e3a25416bf1f
equal deleted inserted replaced
1:27f5851bd5a5 5:d06b1526f62c
   108     TLinearOrder<CCSXHHelpContentBase> anOrder(Orderer<CCSXHHelpContentBase>);          
   108     TLinearOrder<CCSXHHelpContentBase> anOrder(Orderer<CCSXHHelpContentBase>);          
   109     for (TInt i(0); i < categoryList->Count(); i++)
   109     for (TInt i(0); i < categoryList->Count(); i++)
   110         {           
   110         {           
   111         appName = categoryList->MdcaPoint(i);                           
   111         appName = categoryList->MdcaPoint(i);                           
   112         CategoryObj = CCSXHLegacyTOC1::NewL(appName);
   112         CategoryObj = CCSXHLegacyTOC1::NewL(appName);
   113         if(aDataBase->GetMainTopics()->InsertChild(CategoryObj))
   113         if ( aDataBase->GetAppHelpsTopics()->InsertChild(CategoryObj) )
   114                 iLegacyTOC1List.Append(CategoryObj);//Keep a local copy*/       
   114                 iLegacyTOC1List.Append(CategoryObj);//Keep a local copy*/       
   115         }
   115         }
   116     CleanupStack::Pop(categoryList);            
   116     CleanupStack::Pop(categoryList);            
   117     delete categoryList;
   117     delete categoryList;
   118     }
   118     }