Commit 37f729f1 authored by akkana%netscape.com's avatar akkana%netscape.com
Browse files

Fix for scc to work around an apparent egcs bug

parent 14ee777c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;