From da2004c08e5b31be2ba4790d76162a190d663b86 Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Mon, 14 Dec 1998 18:34:34 +0000 Subject: [PATCH] fixing registry for the range class --- xpfe/xpviewer/src/nsSetupRegistry.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xpfe/xpviewer/src/nsSetupRegistry.cpp b/xpfe/xpviewer/src/nsSetupRegistry.cpp index 0e0502081ffe..df3a9b334335 100644 --- a/xpfe/xpviewer/src/nsSetupRegistry.cpp +++ b/xpfe/xpviewer/src/nsSetupRegistry.cpp @@ -129,6 +129,7 @@ static NS_DEFINE_IID(kCHTMLDocument, NS_HTMLDOCUMENT_CID); static NS_DEFINE_IID(kCXMLDocument, NS_XMLDOCUMENT_CID); static NS_DEFINE_IID(kCImageDocument, NS_IMAGEDOCUMENT_CID); static NS_DEFINE_IID(kCRangeListCID, NS_RANGELIST_CID); +static NS_DEFINE_IID(kCRangeCID, NS_RANGE_CID); static NS_DEFINE_IID(kCHTMLImageElementFactory, NS_HTMLIMAGEELEMENTFACTORY_CID); static NS_DEFINE_IID(kNetServiceCID, NS_NETSERVICE_CID); @@ -186,7 +187,9 @@ NS_SetupRegistry() nsRepository::RegisterFactory(kCXMLDocument, LAYOUT_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCImageDocument, LAYOUT_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCRangeListCID, LAYOUT_DLL, PR_FALSE, PR_FALSE); + nsRepository::RegisterFactory(kCRangeCID, LAYOUT_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCHTMLImageElementFactory, LAYOUT_DLL, PR_FALSE, PR_FALSE); + nsRepository::RegisterFactory(kNetServiceCID, NETLIB_DLL, PR_FALSE, PR_FALSE); nsRepository::RegisterFactory(kCImageButtonCID, WIDGET_DLL, PR_FALSE, PR_FALSE);