fixing problem in editfactory

git-svn-id: svn://10.0.0.236/trunk@15454 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com 1998-11-30 08:25:44 +00:00
parent 6706cc4291
commit d9467a0b51
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);
}
}
}