removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1739,7 +1739,7 @@ NS_IMETHODIMP nsDocShell::ReportScriptError(const char* aErrorString,
|
||||
{
|
||||
//XXX Needs some international work.
|
||||
nsAutoString error;
|
||||
error.SetString("JavaScript Error: ");
|
||||
error.Assign("JavaScript Error: ");
|
||||
error.Append(aErrorString);
|
||||
error += "\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user