From 18316574745f355b7b45088e51673f88d08c4fc7 Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Tue, 8 Feb 2000 23:03:03 +0000 Subject: [PATCH] bug 26937 The code was changing the component registry got from the service to open the application registry. This causes asserts all over. The registry we get from the service is always the component registry. r=dveditz --- mailnews/import/oexpress/nsOEFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailnews/import/oexpress/nsOEFactory.cpp b/mailnews/import/oexpress/nsOEFactory.cpp index 155d18e0e1c..0ef9b66b6e9 100644 --- a/mailnews/import/oexpress/nsOEFactory.cpp +++ b/mailnews/import/oexpress/nsOEFactory.cpp @@ -81,7 +81,7 @@ NS_METHOD OERegister(nsIComponentManager *aCompMgr, return rv; } - rv = reg->OpenDefault(); + rv = reg->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry); if (NS_FAILED(rv)) { IMPORT_LOG0( "*** Import OExpress, ERROR OPENING THE REGISTRY\n"); return( rv);