mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
fixing problem in editfactory
This commit is contained in:
parent
f683b1c7bd
commit
e139dc5033
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user