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 :-) git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2035,8 +2035,8 @@ nsComponentManagerImpl::AutoRegisterImpl(PRInt32 when, nsIFile *inDirSpec)
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
(void) observerService->Notify(mgr,
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).GetUnicode(),
|
||||
NS_ConvertASCIItoUCS2("Starting component registration").GetUnicode());
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).get(),
|
||||
NS_ConvertASCIItoUCS2("Starting component registration").get());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2108,8 +2108,8 @@ nsComponentManagerImpl::AutoRegisterImpl(PRInt32 when, nsIFile *inDirSpec)
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
(void) observerService->Notify(mgr,
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).GetUnicode(),
|
||||
NS_ConvertASCIItoUCS2("Component registration finished").GetUnicode());
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).get(),
|
||||
NS_ConvertASCIItoUCS2("Component registration finished").get());
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user