Replace NULL with nsnull in 8 initializations as NULL is void* on Solaris Workshop 4.2 compilers and it dies on using NULL here.

This commit is contained in:
bruce%cybersight.com 1999-06-15 13:51:50 +00:00
parent 23d3ba8c13
commit 26e044b8e0

View File

@ -103,11 +103,11 @@ public:
NS_IMETHOD NS_IMETHOD
GetService(const nsCID& aClass, const nsIID& aIID, GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result, nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL) = 0; nsIShutdownListener* shutdownListener = nsnull) = 0;
NS_IMETHOD NS_IMETHOD
ReleaseService(const nsCID& aClass, nsISupports* service, ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL) = 0; nsIShutdownListener* shutdownListener = nsnull) = 0;
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// let's do it again, this time with ProgIDs... // let's do it again, this time with ProgIDs...
@ -121,11 +121,11 @@ public:
NS_IMETHOD NS_IMETHOD
GetService(const char* aProgID, const nsIID& aIID, GetService(const char* aProgID, const nsIID& aIID,
nsISupports* *result, nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL) = 0; nsIShutdownListener* shutdownListener = nsnull) = 0;
NS_IMETHOD NS_IMETHOD
ReleaseService(const char* aProgID, nsISupports* service, ReleaseService(const char* aProgID, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL) = 0; nsIShutdownListener* shutdownListener = nsnull) = 0;
}; };
@ -167,11 +167,11 @@ public:
static nsresult static nsresult
GetService(const nsCID& aClass, const nsIID& aIID, GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result, nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL); nsIShutdownListener* shutdownListener = nsnull);
static nsresult static nsresult
ReleaseService(const nsCID& aClass, nsISupports* service, ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL); nsIShutdownListener* shutdownListener = nsnull);
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// let's do it again, this time with ProgIDs... // let's do it again, this time with ProgIDs...
@ -185,11 +185,11 @@ public:
static nsresult static nsresult
GetService(const char* aProgID, const nsIID& aIID, GetService(const char* aProgID, const nsIID& aIID,
nsISupports* *result, nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL); nsIShutdownListener* shutdownListener = nsnull);
static nsresult static nsresult
ReleaseService(const char* aProgID, nsISupports* service, ReleaseService(const char* aProgID, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL); nsIShutdownListener* shutdownListener = nsnull);
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////