making string conversions explicit; fixing bustage
git-svn-id: svn://10.0.0.236/trunk@65027 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -515,7 +515,9 @@ nsHTMLContentSinkStream::OpenHTML(const nsIParserNode& aNode)
|
||||
// See bug 20246: the html tag doesn't have "html" in its text,
|
||||
// so AddStartTag will do the wrong thing
|
||||
Write(kLessThan);
|
||||
nsAutoCString tagname( nsString(nsHTMLTags::GetStringValue(tag)) );
|
||||
|
||||
nsString temp; temp.AssignWithConversion(nsHTMLTags::GetStringValue(tag));
|
||||
nsAutoCString tagname(temp);
|
||||
Write(tagname);
|
||||
Write(kGreaterThan);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user