More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -684,9 +684,7 @@ nsXMLDocument::CloneNode(PRBool aDeep, nsIDOMNode** aReturn)
|
||||
}
|
||||
|
||||
// Create an empty document
|
||||
nsAutoString emptyStr;
|
||||
emptyStr.Truncate();
|
||||
rv = NS_NewDOMDocument(getter_AddRefs(newDoc), emptyStr, emptyStr,
|
||||
rv = NS_NewDOMDocument(getter_AddRefs(newDoc), EmptyString(), EmptyString(),
|
||||
newDocType, mDocumentURI);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user