Truncate the output string in nsNodeInfo::GetQualifiedName() before appending to it. r=jag, sr=me

This commit is contained in:
jst%netscape.com 2001-10-08 22:37:23 +00:00
parent 2288ffb528
commit e21ba6730a

View File

@ -126,6 +126,8 @@ nsNodeInfo::GetQualifiedName(nsAWritableString& aQualifiedName)
mInner.mPrefix->ToString(aQualifiedName);
aQualifiedName.Append(PRUnichar(':'));
} else {
aQualifiedName.Truncate();
}
const PRUnichar *name;