ptr = NS_STATIC_CAST(wallet_PrefillElement*, wallet_list->ElementAt(i)); schema = ptr->schema->ToNewUnicode(); value = ptr->value->ToNewUnicode();
mapElementPtr = NS_STATIC_CAST(wallet_PrefillElement*, wallet_list->ElementAt(i)); schema = mapElementPtr->schema->ToNewUnicode(); value = mapElementPtr->value->ToNewUnicode();
WLLT_GetPrefillListForViewer(nsString& aPrefillList){  wallet_PrefillElement * ptr;  nsAutoString buffer;  PRUnichar * schema;  PRUnichar * value;  PRInt32 count = LIST_COUNT(wallet_list);  for (PRInt32 i=0; i<count; i++) {    ptr = NS_STATIC_CAST(wallet_PrefillElement*, wallet_list->ElementAt(i));    schema = ptr->schema->ToNewUnicode();    value = ptr->value->ToNewUnicode();    buffer.AppendWithConversion(BREAK);    buffer.AppendInt(ptr->count,10);    buffer.AppendWithConversion(BREAK);    buffer += schema;    buffer.AppendWithConversion(BREAK);    buffer += value;    Recycle(schema);    Recycle(value);  }  PRUnichar * urlUnichar = wallet_url.ToNewUnicode();  buffer.AppendWithConversion(BREAK);  buffer.AppendInt(PRInt32(wallet_list));  buffer.AppendWithConversion(BREAK);  buffer += urlUnichar;  Recycle(urlUnichar);  aPrefillList = buffer;}