Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
This commit is contained in:
@@ -2126,7 +2126,7 @@ PRInt32 CEntityToken::TranslateToUnicodeStr(nsString& aString) {
|
||||
* @return
|
||||
*/
|
||||
void CEntityToken::DebugDumpSource(nsOutputStream& out) {
|
||||
char* cp=mTextValue.ToNewCString();
|
||||
char* cp = ToNewCString(mTextValue);
|
||||
out << "&" << *cp;
|
||||
delete[] cp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user