rem: for ( var i = 0;  i < listCardsCount; i++ ) { var card = directory.addressLists.GetElementAt(i); card = card.QueryInterface(Components.interfaces.nsIAbCard); cards[i] = card; } 
add: for (var i = 0; i < listCardsCount; ++i) cards[i] = directory.addressLists.QueryElementAt( i, Components.interfaces.nsIAbCard); 
context: function GetSelectedAddressesFromDirTree() {  var addresses = "";  if (dirTree.currentIndex >= 0) {    var selectedResource = dirTree.builderView.getResourceAtIndex(dirTree.currentIndex);    var mailingListUri = selectedResource.Value;    var directory = GetDirectoryFromURI(mailingListUri);    if (directory.isMailList) {      var listCardsCount = directory.addressLists.Count();      var cards = new Array(listCardsCount);      for ( var i = 0;  i < listCardsCount; i++ ) {        var card = directory.addressLists.GetElementAt(i);        card = card.QueryInterface(Components.interfaces.nsIAbCard);        cards[i] = card;      }      addresses = GetAddressesForCards(cards);    }  }  return addresses;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/078edbf3ca565af997d7c1db585aa87a96a6b057/abCommon.js/buggy/mail/components/addrbook/content/abCommon.js