This commit is contained in:
valeski%netscape.com 2001-04-27 22:35:13 +00:00
Родитель c27a05d2de
Коммит 49d34b88ed
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -84,13 +84,12 @@ NS_IMETHODIMP nsOSHelperAppService::ExternalProtocolHandlerExists(const char * a
nsCOMPtr<nsIStringBundleService> stringBundleService = do_GetService(NS_STRINGBUNDLE_CONTRACTID);
if (stringBundleService)
{
nsILocale* locale = nsnull;
nsCOMPtr<nsIStringBundle> appLauncherBundle;
rv = stringBundleService->CreateBundle(HELPERAPPLAUNCHER_BUNDLE_URL, locale, getter_AddRefs(appLauncherBundle));
rv = stringBundleService->CreateBundle(HELPERAPPLAUNCHER_BUNDLE_URL, getter_AddRefs(appLauncherBundle));
if (rv == NS_OK)
{
nsCOMPtr<nsIStringBundle> brandBundle;
rv = stringBundleService->CreateBundle(BRAND_BUNDLE_URL, locale, getter_AddRefs(brandBundle));
rv = stringBundleService->CreateBundle(BRAND_BUNDLE_URL, getter_AddRefs(brandBundle));
if (rv == NS_OK)
{
nsXPIDLString brandName;