csxhelp/HelpEngine/src/CSXHLegacyContentParser.cpp
branchRCL_3
changeset 22 e3a25416bf1f
parent 5 d06b1526f62c
child 32 b69cc3efe785
--- a/csxhelp/HelpEngine/src/CSXHLegacyContentParser.cpp	Tue May 25 12:28:46 2010 +0300
+++ b/csxhelp/HelpEngine/src/CSXHLegacyContentParser.cpp	Wed Jun 09 09:28:21 2010 +0300
@@ -156,6 +156,10 @@
         if(appName.Compare(aTopic->GetName())==0)
             break;
         }
+    if( nIndex == nCount )
+        {
+        return NULL;
+        }
     if(iTopic)
         {
         delete iTopic;