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 e454f1e4b1
commit 3a7de27245

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;