if (mOverrideStrings) { rv = mOverrideStrings->GetStringFromName(mPropertiesURL, name, aResult); if (NS_SUCCEEDED(rv)) return rv;
PRUint32 size, i;  rv = mBundle->Count(&size); if (NS_FAILED(rv)) 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; }
nsStringBundle::GetStringFromID(PRInt32 aID, nsAString& aResult){    nsAutoCMonitor(this);  nsCAutoString name;  name.AppendInt(aID, 10);  nsresult rv;    // try override first  if (mOverrideStrings) {    rv = mOverrideStrings->GetStringFromName(mPropertiesURL,                                             name,                                             aResult);    if (NS_SUCCEEDED(rv)) return rv;  }    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;}