fixing problem in editfactory

This commit is contained in:
mjudge%netscape.com 1998-11-30 08:25:44 +00:00
parent f683b1c7bd
commit e139dc5033
2 changed files with 0 additions and 14 deletions

View File

@ -112,13 +112,6 @@ nsEditFactory::nsEditFactory(nsIFactory **aFactory)
if (aFactory)
{
err = this->QueryInterface(kIFactoryIID, (void**)aFactory);
//this is to be sure we have at least one
//reference to the factory
if ( (err == NS_OK) && (*aFactory != NULL) )
{
nsRepository::RegisterFactory(kIEditFactoryIID, *aFactory,
PR_TRUE);
}
}
}

View File

@ -112,13 +112,6 @@ nsEditFactory::nsEditFactory(nsIFactory **aFactory)
if (aFactory)
{
err = this->QueryInterface(kIFactoryIID, (void**)aFactory);
//this is to be sure we have at least one
//reference to the factory
if ( (err == NS_OK) && (*aFactory != NULL) )
{
nsRepository::RegisterFactory(kIEditFactoryIID, *aFactory,
PR_TRUE);
}
}
}