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);