Converting usage of ::GetIID() to NS_GET_IID().

Bug #20232, r=scc@netscape.com
This commit is contained in:
pp@ludusdesign.com
2000-01-11 20:49:15 +00:00
parent 593664d7a1
commit d459b2ef64
234 changed files with 1484 additions and 810 deletions

View File

@@ -18,6 +18,7 @@
* Rights Reserved.
*
* Contributor(s):
* Pierre Phaneuf <pp@ludusdesign.com>
*/
#include "nsCOMPtr.h"
#include "nsIGenericFactory.h"
@@ -364,7 +365,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
}
// Increase refcnt and store away nsIModule interface to m in return_cobj
rv = m->QueryInterface(nsIModule::GetIID(), (void**)return_cobj);
rv = m->QueryInterface(NS_GET_IID(nsIModule), (void**)return_cobj);
if (NS_FAILED(rv)) {
delete m;
m = nsnull;