Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org

This commit is contained in:
jst@netscape.com
2003-06-24 01:46:50 +00:00
parent a448ce333a
commit b52c8fe710
12 changed files with 104 additions and 26 deletions

View File

@@ -449,7 +449,7 @@ nsIsIndexFrame::OnSubmit(nsIPresContext* aPresContext)
nsCAutoString relPath;
docURL->GetSpec(relPath);
if (!relPath.IsEmpty()) {
href = NS_ConvertUTF8toUCS2(relPath);
CopyUTF8toUTF16(relPath, href);
// If re-using the same URL, chop off old query string (bug 25330)
PRInt32 queryStart = href.FindChar('?');