Backing out valeski

This commit is contained in:
sfraser@netscape.com
2001-04-27 05:53:22 +00:00
parent 18b7da2434
commit 9ed868e27a
24 changed files with 206 additions and 29 deletions

View File

@@ -592,8 +592,9 @@ nsPromptService::GetLocaleString(const char *aKey, PRUnichar **aResult)
nsCOMPtr<nsIStringBundleService> stringService = do_GetService(kStringBundleServiceCID);
nsCOMPtr<nsIStringBundle> stringBundle;
nsILocale *locale = nsnull;
rv = stringService->CreateBundle(kCommonDialogsProperties, getter_AddRefs(stringBundle));
rv = stringService->CreateBundle(kCommonDialogsProperties, locale, getter_AddRefs(stringBundle));
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
rv = stringBundle->GetStringFromName(NS_ConvertASCIItoUCS2(aKey).GetUnicode(), aResult);