ret = bundle->QueryInterface(kIStringBundleIID, (void**) aResult);
ret = bundle->QueryInterface(NS_GET_IID(nsIStringBundle), (void**) aResult);
nsStringBundleService::CreateXPCBundle(const char *aURLSpec, const PRUnichar *aLocaleName, nsIStringBundle **aResult){#ifdef DEBUG_tao  printf("\n++ nsStringBundleService::CreateXPCBundle ++\n");  {    nsString2 aURLStr(aURLSpec);    char *s = aURLStr.ToNewCString();    printf("\n** nsStringBundleService::XPCCreateBundle: %s\n", s?s:"null");    delete s;  }#endif  nsresult ret = NS_OK;  nsStringBundle* bundle = new nsStringBundle(aURLSpec, nsnull, &ret);  if (!bundle) {    return NS_ERROR_OUT_OF_MEMORY;  }  if (NS_FAILED(ret)) {    delete bundle;    return ret;  }  ret = bundle->QueryInterface(kIStringBundleIID, (void**) aResult);  if (NS_FAILED(ret)) {    delete bundle;  }  return ret;}