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)
{
if (gCharsetManager == nsnull) {
nsServiceManager::GetService(kCharsetConverterManagerCID,
NS_GET_IID(nsICharsetConverterManager), (nsISupports**) &gCharsetManager);
CallGetService(kCharsetConverterManagerCID, &gCharsetManager);
}
nsresult rv;