bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones

r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2006-02-03 14:18:39 +00:00
parent aec0aae014
commit 6322c04952
462 changed files with 1529 additions and 1542 deletions

View File

@@ -627,7 +627,7 @@ BOOL CALLBACK BrowserDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
GetDlgItemText(hwndDlg, IDC_ADDRESS, szURL,
sizeof(szURL) / sizeof(szURL[0]) - 1);
webNavigation->LoadURI(
NS_ConvertASCIItoUCS2(szURL).get(),
NS_ConvertASCIItoUTF16(szURL).get(),
nsIWebNavigation::LOAD_FLAGS_NONE,
nsnull,
nsnull,
@@ -1433,7 +1433,7 @@ nsQABrowserUIGlue::LoadURL(const char * aURL)
mBrowserView->GetWebBrowser(getter_AddRefs(newBrowser));
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(newBrowser, &rv));
if (webNav)
return webNav->LoadURI(NS_ConvertASCIItoUCS2(aURL).get(),
return webNav->LoadURI(NS_ConvertASCIItoUTF16(aURL).get(),
nsIWebNavigation::LOAD_FLAGS_NONE,
nsnull,
nsnull,