Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.

git-svn-id: svn://10.0.0.236/trunk@162493 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%propagandism.org
2004-09-17 11:12:14 +00:00
parent ac04d5df23
commit 70a436b743
15 changed files with 27 additions and 23 deletions

View File

@@ -1413,12 +1413,12 @@ void nsWebShellWindow::LoadContentAreas() {
docViewer->GetDocument(getter_AddRefs(doc));
nsIURI *mainURL = doc->GetDocumentURI();
nsCAutoString search;
nsCOMPtr<nsIURL> url = do_QueryInterface(mainURL);
if (url) {
nsCAutoString search;
url->GetQuery(search);
CopyUTF8toUTF16(search, searchSpec);
AppendUTF8toUTF16(search, searchSpec);
}
}
}