diff --git a/caps/src/nsSecurityManagerFactory.cpp b/caps/src/nsSecurityManagerFactory.cpp index 230bcf42d8b1..846c581b1962 100644 --- a/caps/src/nsSecurityManagerFactory.cpp +++ b/caps/src/nsSecurityManagerFactory.cpp @@ -277,7 +277,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsSecurityManagerModule *m = new nsSecurityManagerModule(); diff --git a/chrome/src/nsChromeFactory.cpp b/chrome/src/nsChromeFactory.cpp index 7510649c6024..15e306a98213 100644 --- a/chrome/src/nsChromeFactory.cpp +++ b/chrome/src/nsChromeFactory.cpp @@ -268,7 +268,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsChromeModule *m = new nsChromeModule(); diff --git a/extensions/cookie/nsCookieService.cpp b/extensions/cookie/nsCookieService.cpp index 15cb7b61a049..ed677c6b03de 100644 --- a/extensions/cookie/nsCookieService.cpp +++ b/extensions/cookie/nsCookieService.cpp @@ -433,7 +433,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsCookieServiceModule *m = new nsCookieServiceModule(); diff --git a/extensions/pics/src/nsPICS.cpp b/extensions/pics/src/nsPICS.cpp index 4a459d02ae77..c7abb30a2f15 100644 --- a/extensions/pics/src/nsPICS.cpp +++ b/extensions/pics/src/nsPICS.cpp @@ -1789,7 +1789,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsPICSModule *m = new nsPICSModule(); diff --git a/extensions/wallet/build/nsWalletViewerFactory.cpp b/extensions/wallet/build/nsWalletViewerFactory.cpp index b44b643c592f..f65fb2398e55 100644 --- a/extensions/wallet/build/nsWalletViewerFactory.cpp +++ b/extensions/wallet/build/nsWalletViewerFactory.cpp @@ -377,7 +377,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsWalletViewerModule *m = new nsWalletViewerModule(); diff --git a/extensions/wallet/src/nsWalletFactory.cpp b/extensions/wallet/src/nsWalletFactory.cpp index 60a145950b92..8af5a0fb424b 100644 --- a/extensions/wallet/src/nsWalletFactory.cpp +++ b/extensions/wallet/src/nsWalletFactory.cpp @@ -260,7 +260,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsWalletModule *m = new nsWalletModule(); diff --git a/intl/compatibility/macbuild/intlcmptIDL.mcp b/intl/compatibility/macbuild/intlcmptIDL.mcp index 668c5fd80c09..198a824d0c73 100644 Binary files a/intl/compatibility/macbuild/intlcmptIDL.mcp and b/intl/compatibility/macbuild/intlcmptIDL.mcp differ diff --git a/intl/compatibility/src/nsI18nCompatibility.cpp b/intl/compatibility/src/nsI18nCompatibility.cpp index 558c4b41ed62..7ed6fc25c9c2 100644 --- a/intl/compatibility/src/nsI18nCompatibility.cpp +++ b/intl/compatibility/src/nsI18nCompatibility.cpp @@ -121,7 +121,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsI18nCompModule * m = new nsI18nCompModule(); diff --git a/intl/strres/src/nsStringBundle.cpp b/intl/strres/src/nsStringBundle.cpp index e63a930a0d93..717ef27581f8 100644 --- a/intl/strres/src/nsStringBundle.cpp +++ b/intl/strres/src/nsStringBundle.cpp @@ -493,7 +493,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsSBModule * m = new nsSBModule(); diff --git a/intl/uconv/ucvcn/nsUCvCnModule.cpp b/intl/uconv/ucvcn/nsUCvCnModule.cpp index cf648a625dc9..ecc351fc4aa1 100644 --- a/intl/uconv/ucvcn/nsUCvCnModule.cpp +++ b/intl/uconv/ucvcn/nsUCvCnModule.cpp @@ -205,7 +205,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsConverterModule * m = new nsConverterModule(); diff --git a/intl/uconv/ucvja/nsUCvJaModule.cpp b/intl/uconv/ucvja/nsUCvJaModule.cpp index 9cbed179fc9e..35a7db692f5e 100644 --- a/intl/uconv/ucvja/nsUCvJaModule.cpp +++ b/intl/uconv/ucvja/nsUCvJaModule.cpp @@ -239,7 +239,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsConverterModule * m = new nsConverterModule(); diff --git a/intl/uconv/ucvko/nsUCvKoModule.cpp b/intl/uconv/ucvko/nsUCvKoModule.cpp index d1993b108481..44f66e415903 100644 --- a/intl/uconv/ucvko/nsUCvKoModule.cpp +++ b/intl/uconv/ucvko/nsUCvKoModule.cpp @@ -173,7 +173,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsConverterModule * m = new nsConverterModule(); diff --git a/intl/uconv/ucvlatin/nsUCvLatinModule.cpp b/intl/uconv/ucvlatin/nsUCvLatinModule.cpp index de57662a32d6..c05c41a242bf 100644 --- a/intl/uconv/ucvlatin/nsUCvLatinModule.cpp +++ b/intl/uconv/ucvlatin/nsUCvLatinModule.cpp @@ -868,7 +868,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsConverterModule * m = new nsConverterModule(); diff --git a/intl/uconv/ucvtw/nsUCvTwModule.cpp b/intl/uconv/ucvtw/nsUCvTwModule.cpp index cace911330ce..4bfab2e13066 100644 --- a/intl/uconv/ucvtw/nsUCvTwModule.cpp +++ b/intl/uconv/ucvtw/nsUCvTwModule.cpp @@ -163,7 +163,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsConverterModule * m = new nsConverterModule(); diff --git a/intl/uconv/ucvtw2/nsUCvTw2Module.cpp b/intl/uconv/ucvtw2/nsUCvTw2Module.cpp index dd243f17a018..fe2351ba5be5 100644 --- a/intl/uconv/ucvtw2/nsUCvTw2Module.cpp +++ b/intl/uconv/ucvtw2/nsUCvTw2Module.cpp @@ -253,7 +253,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager * compMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the module instance nsConverterModule * m = new nsConverterModule(); diff --git a/js/src/xpconnect/tests/components/xpctest_module.cpp b/js/src/xpconnect/tests/components/xpctest_module.cpp index b98a581dab54..74c39bcc7f36 100644 --- a/js/src/xpconnect/tests/components/xpctest_module.cpp +++ b/js/src/xpconnect/tests/components/xpctest_module.cpp @@ -469,7 +469,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsXPCTestModule *m = new nsXPCTestModule(); diff --git a/modules/libjar/nsJARFactory.cpp b/modules/libjar/nsJARFactory.cpp index 101e31276a48..b62e4d523ad4 100644 --- a/modules/libjar/nsJARFactory.cpp +++ b/modules/libjar/nsJARFactory.cpp @@ -269,7 +269,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsJARModule *m = new nsJARModule(); diff --git a/modules/libpref/src/nsPref.cpp b/modules/libpref/src/nsPref.cpp index 9e6cd2a0b06e..5ed35f12bec3 100644 --- a/modules/libpref/src/nsPref.cpp +++ b/modules/libpref/src/nsPref.cpp @@ -1421,7 +1421,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the layout module instance nsPrefModule *m = new nsPrefModule(); diff --git a/modules/oji/src/nsCJVMManagerFactory.cpp b/modules/oji/src/nsCJVMManagerFactory.cpp index 3c307f4b885e..ac943edb260d 100644 --- a/modules/oji/src/nsCJVMManagerFactory.cpp +++ b/modules/oji/src/nsCJVMManagerFactory.cpp @@ -254,7 +254,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsCJVMManagerModule *m = new nsCJVMManagerModule(); diff --git a/netwerk/mime/src/nsMIMEServiceFactory.cpp b/netwerk/mime/src/nsMIMEServiceFactory.cpp index 62289bba2541..ea9a5b21ba2e 100644 --- a/netwerk/mime/src/nsMIMEServiceFactory.cpp +++ b/netwerk/mime/src/nsMIMEServiceFactory.cpp @@ -275,7 +275,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsMIMEServiceModule *m = new nsMIMEServiceModule(); diff --git a/netwerk/streamconv/converters/nsConvFactories.cpp b/netwerk/streamconv/converters/nsConvFactories.cpp index 20e134135264..37d64869e7f9 100644 --- a/netwerk/streamconv/converters/nsConvFactories.cpp +++ b/netwerk/streamconv/converters/nsConvFactories.cpp @@ -296,7 +296,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsConvModule *m = new nsConvModule(); diff --git a/netwerk/streamconv/src/nsStreamConvServiceFactory.cpp b/netwerk/streamconv/src/nsStreamConvServiceFactory.cpp index 20c91ae2413b..7e5b997d41db 100644 --- a/netwerk/streamconv/src/nsStreamConvServiceFactory.cpp +++ b/netwerk/streamconv/src/nsStreamConvServiceFactory.cpp @@ -254,7 +254,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsStreamConvModule *m = new nsStreamConvModule(); diff --git a/profile/pref-migrator/src/nsPrefMigrationFactory.cpp b/profile/pref-migrator/src/nsPrefMigrationFactory.cpp index 398e52bf30e1..f69e31a49eb3 100644 --- a/profile/pref-migrator/src/nsPrefMigrationFactory.cpp +++ b/profile/pref-migrator/src/nsPrefMigrationFactory.cpp @@ -239,7 +239,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsPrefMigrationModule *m = new nsPrefMigrationModule(); diff --git a/profile/src/nsProfileFactory.cpp b/profile/src/nsProfileFactory.cpp index 013d5677a3c3..3f35fe8e8e5e 100644 --- a/profile/src/nsProfileFactory.cpp +++ b/profile/src/nsProfileFactory.cpp @@ -254,7 +254,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the layout module instance nsProfileModule *m = new nsProfileModule(); diff --git a/rdf/chrome/build/nsChromeFactory.cpp b/rdf/chrome/build/nsChromeFactory.cpp index 7510649c6024..15e306a98213 100644 --- a/rdf/chrome/build/nsChromeFactory.cpp +++ b/rdf/chrome/build/nsChromeFactory.cpp @@ -268,7 +268,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsChromeModule *m = new nsChromeModule(); diff --git a/xpfe/components/bookmarks/src/nsBookmarksService.cpp b/xpfe/components/bookmarks/src/nsBookmarksService.cpp index a14440ead076..d1fd665d9e33 100644 --- a/xpfe/components/bookmarks/src/nsBookmarksService.cpp +++ b/xpfe/components/bookmarks/src/nsBookmarksService.cpp @@ -3966,7 +3966,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsBookmarksServiceModule *m = new nsBookmarksServiceModule(); diff --git a/xpfe/components/directory/nsDirectoryViewer.cpp b/xpfe/components/directory/nsDirectoryViewer.cpp index 334cb38f8b6c..f92f8864ef79 100644 --- a/xpfe/components/directory/nsDirectoryViewer.cpp +++ b/xpfe/components/directory/nsDirectoryViewer.cpp @@ -1212,7 +1212,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsDirectoryViewerModule *m = new nsDirectoryViewerModule(); diff --git a/xpfe/components/history/src/nsGlobalHistory.cpp b/xpfe/components/history/src/nsGlobalHistory.cpp index 13e5c77205f1..f5c0567e040b 100644 --- a/xpfe/components/history/src/nsGlobalHistory.cpp +++ b/xpfe/components/history/src/nsGlobalHistory.cpp @@ -1716,7 +1716,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, // Preconditions NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create an initialize the layout module instance nsGlobalHistoryModule *m = new nsGlobalHistoryModule(); diff --git a/xpfe/components/regviewer/nsRegistryDataSource.cpp b/xpfe/components/regviewer/nsRegistryDataSource.cpp index cd192a2942f6..1e33756cb0e1 100644 --- a/xpfe/components/regviewer/nsRegistryDataSource.cpp +++ b/xpfe/components/regviewer/nsRegistryDataSource.cpp @@ -1042,7 +1042,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsRegistryDataSourceModule *m = new nsRegistryDataSourceModule(); diff --git a/xpfe/components/related/src/nsRelatedLinksHandler.cpp b/xpfe/components/related/src/nsRelatedLinksHandler.cpp index 4b9aab23e493..52785a7f7593 100644 --- a/xpfe/components/related/src/nsRelatedLinksHandler.cpp +++ b/xpfe/components/related/src/nsRelatedLinksHandler.cpp @@ -1270,7 +1270,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsRelatedLinksModule *m = new nsRelatedLinksModule(); diff --git a/xpfe/components/search/src/nsRegisterSearch.cpp b/xpfe/components/search/src/nsRegisterSearch.cpp index 832bc06e0326..8aee09e99469 100755 --- a/xpfe/components/search/src/nsRegisterSearch.cpp +++ b/xpfe/components/search/src/nsRegisterSearch.cpp @@ -271,7 +271,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsSearchModule *m = new nsSearchModule(); diff --git a/xpinstall/notifier/nsXPIFlash.cpp b/xpinstall/notifier/nsXPIFlash.cpp index 1d23ff8c4f2f..5e38dca07265 100644 --- a/xpinstall/notifier/nsXPIFlash.cpp +++ b/xpinstall/notifier/nsXPIFlash.cpp @@ -898,7 +898,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsXPINotifierModule *m = new nsXPINotifierModule(); diff --git a/xpinstall/src/nsSoftwareUpdate.cpp b/xpinstall/src/nsSoftwareUpdate.cpp index e615032c8ca0..6efdd533a844 100644 --- a/xpinstall/src/nsSoftwareUpdate.cpp +++ b/xpinstall/src/nsSoftwareUpdate.cpp @@ -775,7 +775,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr, nsresult rv = NS_OK; NS_ENSURE_ARG_POINTER(return_cobj); - NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE); + NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE); // Create and initialize the module instance nsSoftwareUpdateModule *m = new nsSoftwareUpdateModule();