Mfcembed no longer runs in Visual Studio Debugger, r=timeless, sr=alec, a=rjesup, b=166977

git-svn-id: svn://10.0.0.236/trunk@128989 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-09-06 20:19:14 +00:00
parent a6988dbdf4
commit 8f7fb38feb

View File

@@ -97,7 +97,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
nsCOMPtr<nsIComponentRegistrar> registrar = do_QueryInterface(sServiceManager, &rv);
if (NS_FAILED(rv))
{
NS_ASSERTION(PR_FALSE, "Could not QI to registrar");
NS_WARNING("Could not QI to registrar");
return rv;
}
#ifdef DEBUG
@@ -105,7 +105,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
if (NS_FAILED(rv))
{
NS_ASSERTION(PR_FALSE, "Could not AutoRegister");
NS_WARNING("Could not AutoRegister");
return rv;
}
@@ -126,11 +126,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
if (mreDir)
{
rv = registrar->AutoRegister(mreDir);
if (NS_FAILED(rv))
{
NS_ASSERTION(PR_FALSE, "Could not AutoRegister MRE components");
return rv;
}
NS_ASSERTION(NS_SUCCEEDED(rv), "Could not AutoRegister MRE components");
}
}
#endif