making string conversions explicit

This commit is contained in:
scc@netscape.com
2000-04-16 11:19:26 +00:00
parent 70217ab16c
commit 6389c25d1d
82 changed files with 539 additions and 548 deletions

View File

@@ -78,7 +78,7 @@ nsButtonFrameRenderer::SetDisabled(PRBool aDisabled, PRBool notify)
mFrame->GetContent(getter_AddRefs(content));
if (aDisabled)
content->SetAttribute(mNameSpace, nsHTMLAtoms::disabled, "", notify);
content->SetAttribute(mNameSpace, nsHTMLAtoms::disabled, nsAutoString(), notify);
else
content->UnsetAttribute(mNameSpace, nsHTMLAtoms::disabled, notify);