fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg

This commit is contained in:
darin@meer.net 2007-09-06 11:41:02 -07:00
parent e8030b601c
commit 45b2b81b61

View File

@ -81,8 +81,7 @@ nsISupports*
OS2Uni::GetUconvObject(int aCodePage, ConverterRequest aReq) OS2Uni::GetUconvObject(int aCodePage, ConverterRequest aReq)
{ {
if (gCharsetManager == nsnull) { if (gCharsetManager == nsnull) {
nsServiceManager::GetService(kCharsetConverterManagerCID, CallGetService(kCharsetConverterManagerCID, &gCharsetManager);
NS_GET_IID(nsICharsetConverterManager), (nsISupports**) &gCharsetManager);
} }
nsresult rv; nsresult rv;