mmappcomponents/asxparser/src/asxparser.cpp
changeset 2 7a9a8e73f54b
parent 0 a2952bb97e68
child 24 6c1dfe4da5dd
--- a/mmappcomponents/asxparser/src/asxparser.cpp	Thu Jan 07 12:57:30 2010 +0200
+++ b/mmappcomponents/asxparser/src/asxparser.cpp	Mon Jan 18 20:36:37 2010 +0200
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: 10.1.5 %
+// Version : %version: e003sa33#10.1.6 %
 
 
 
@@ -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;
 	                                }
 	                            }