return rv;
for (i = 0; i < size; i++) { nsCOMPtr<nsIStringBundle> bundle; rv = mBundle->QueryElementAt(i, NS_GET_IID(nsIStringBundle), getter_AddRefs(bundle)); if (NS_SUCCEEDED(rv)) { rv = bundle->GetStringFromID(aID, aResult); if (NS_SUCCEEDED(rv)) return NS_OK; } }  return NS_ERROR_FAILURE;
nsStringBundle::GetStringFromID(PRInt32 aID, nsString& aResult){    nsAutoCMonitor(this);  nsAutoString name;  name.AppendInt(aID, 10);  nsresult rv = mProps->GetStringProperty(name, aResult);#ifdef DEBUG_tao_  char *s = ToNewCString(aResult);  printf("\n** GetStringFromID: aResult=%s, len=%d\n", s?s:"null",          aResult.Length());  delete s;#endif /* DEBUG_tao_ */  return rv;}