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