Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.

This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
This commit is contained in:
jaggernaut@netscape.com
2001-06-30 11:02:25 +00:00
parent 4edac518f0
commit baba14c5c8
327 changed files with 1155 additions and 1155 deletions

View File

@@ -673,8 +673,8 @@ nsNativeComponentLoader::AutoUnregisterComponent(PRInt32 when,
if (NS_SUCCEEDED(rv))
{
(void) observerService->Notify(mgr,
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).GetUnicode(),
NS_ConvertASCIItoUCS2("Unregistering native component").GetUnicode());
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).get(),
NS_ConvertASCIItoUCS2("Unregistering native component").get());
}
}
@@ -844,8 +844,8 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32 when,
statusMsg.Append(fileName);
(void) observerService->Notify(mgr,
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).GetUnicode(),
statusMsg.GetUnicode());
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).get(),
statusMsg.get());
}
}