diff -r 1f04cf54edd8 -r 27f5851bd5a5 csxhelp/HelpEngine/src/CSXHHTMLContentParser.cpp --- a/csxhelp/HelpEngine/src/CSXHHTMLContentParser.cpp Tue Jan 26 15:15:23 2010 +0200 +++ b/csxhelp/HelpEngine/src/CSXHHTMLContentParser.cpp Tue Feb 02 00:03:40 2010 +0200 @@ -241,7 +241,7 @@ if(BaflUtils::FileExists( FileSession,masterFile ) ) { #ifdef _DEBUG - RDebug::Print(_L("index exist begin to parse! %c"), aDrive ); + RDebug::Print(_L("index exist begin to parse! %c"), TUint( aDrive ) ); #endif CCSXHXMLParseHandler_MasterMetaFile* masterMetaHandler = CCSXHXMLParseHandler_MasterMetaFile::NewL(iCoeEnv); @@ -356,6 +356,10 @@ { CCSXHHtmlTOC1* CategoryObj = CCSXHHtmlTOC1::NewL( XMLParser->GetApplicationName(),entry.iName,aDrive); + if ( !CategoryObj ) + { + continue; + } iIndexing->RuntimeGenerateIndexL( *CategoryObj, XMLParser->GetFeatureIds() ); if(CategoryObj && aDataBase->GetMainTopics()->InsertChild(CategoryObj,EFalse)) iHtmlTOC1List.Append(CategoryObj);//Keep a local copy*/