зеркало из https://github.com/mozilla/pjs.git
Fix for scc to work around an apparent egcs bug
This commit is contained in:
Родитель
54b7562fe8
Коммит
00f6fb9ac1
|
@ -262,7 +262,7 @@ nsDocFactoryImpl::QueryInterface( REFNSIID aIID, void** aInstancePtr )
|
|||
*result = NS_STATIC_CAST(nsIDocumentLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsIDocStreamLoaderFactory::GetIID()) )
|
||||
*result = NS_STATIC_CAST(nsIDocStreamLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsISupports::GetIID()) )
|
||||
else if ( aIID.Equals(kISupportsIID) )
|
||||
*result = NS_STATIC_CAST(nsISupports*, NS_STATIC_CAST(nsIDocumentLoaderFactory*, this));
|
||||
else
|
||||
*result = 0;
|
||||
|
|
|
@ -262,7 +262,7 @@ nsDocFactoryImpl::QueryInterface( REFNSIID aIID, void** aInstancePtr )
|
|||
*result = NS_STATIC_CAST(nsIDocumentLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsIDocStreamLoaderFactory::GetIID()) )
|
||||
*result = NS_STATIC_CAST(nsIDocStreamLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsISupports::GetIID()) )
|
||||
else if ( aIID.Equals(kISupportsIID) )
|
||||
*result = NS_STATIC_CAST(nsISupports*, NS_STATIC_CAST(nsIDocumentLoaderFactory*, this));
|
||||
else
|
||||
*result = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче