зеркало из https://github.com/mozilla/gecko-dev.git
fixing problem in editfactory
This commit is contained in:
Родитель
f683b1c7bd
Коммит
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче