convert to CreateInstanceFromProgID

This commit is contained in:
shaver@netscape.com
1999-09-05 06:27:42 +00:00
parent 880777ddc4
commit 77c3544d9c
13 changed files with 308 additions and 337 deletions

View File

@@ -864,10 +864,6 @@ nsNativeComponentLoader::RegistryNameForSpec(nsIFileSpec *aSpec,
* Who knew?
*/
const char *nativePath;
nsFileSpec spec;
rv = aSpec->GetFileSpec(&spec);
if (NS_FAILED(rv))
return rv;
nativePath = spec.GetNativePathCString();
nativePath += mComponentsDirLen;
#ifdef XP_MAC // XXX move relativize-fragment logic to nsFileSpec?