fix for 26691. PDT+. reviewed by byner. This basically removes a assert that

was upsetting user of viewer.
This commit is contained in:
dougt%netscape.com 2000-02-26 00:09:44 +00:00
Родитель 2bd13b4c29
Коммит d076e83c8f
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -63,10 +63,7 @@ inline nsIFileSpec* NS_LocateFileOrDirectory(PRUint32 selector)
nsIFileSpec* spec = nsnull;
NS_WITH_SERVICE(nsIFileLocator, locator, NS_FILELOCATOR_PROGID, &rv);
if (NS_SUCCEEDED(rv) && locator)
{
rv = locator->GetFileLocation(selector, &spec);
NS_ASSERTION(NS_SUCCEEDED(rv), "ERROR: File locator cannot locate file.");
}
locator->GetFileLocation(selector, &spec);
return spec;
}