mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
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:
parent
23d3ba8c13
commit
26e044b8e0
@ -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);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user