mmappcomponents/asxparser/src/asxparser.cpp
changeset 25 d881023c13eb
parent 20 b1fb57be53fe
child 27 cbb1bfb7ebfb
--- a/mmappcomponents/asxparser/src/asxparser.cpp	Fri Apr 16 15:28:14 2010 +0300
+++ b/mmappcomponents/asxparser/src/asxparser.cpp	Mon May 03 12:58:40 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: 10.1.5 %
+// Version : %version: 10.1.5.1.1 %
 
 
 
@@ -299,7 +299,8 @@
                         CleanupStack::PopAndDestroy(); //attributeList
                     }
 	            
-	                while( nodelist2.HasNext() )
+                    TBool urlIsSet = EFalse;
+	                while( !urlIsSet && nodelist2.HasNext() )
 	                {
 	                    element = nodelist2.Next();
 
@@ -326,6 +327,8 @@
 	                                    TPtrC8 attrData = attr.Value();
 	                                    asxItem->url = attrData.AllocL();
 	                                    iAsxArray.Append(asxItem);
+	                                    urlIsSet = ETrue;
+	                                    break;
 	                                }
 	                            }