Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc

git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2001-10-16 03:53:44 +00:00
parent 3823f1e1ae
commit 7bb7b59a69
140 changed files with 464 additions and 826 deletions

View File

@@ -765,7 +765,7 @@ nsHTMLMappedAttributes::List(FILE* out, PRInt32 aIndent) const
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);
attr->ToString(buffer);
fputs(buffer, out);
fputs(NS_LossyConvertUCS2toASCII(buffer).get(), out);
fputs("\n", out);
attr = attr->mNext;
}
@@ -1518,7 +1518,7 @@ HTMLAttributesImpl::List(FILE* out, PRInt32 aIndent) const
buffer.AppendWithConversion(" = ");
value.AppendToString(buffer);
}
fputs(buffer, out);
fputs(NS_LossyConvertUCS2toASCII(buffer).get(), out);
}
return NS_OK;
}