making string conversions explicit

git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-04-22 10:31:38 +00:00
parent 5a9e9b10c1
commit fe0f1e89f2
6 changed files with 8 additions and 8 deletions

View File

@@ -725,7 +725,7 @@ nsHTMLSelectElement::GetValue(nsString& aValue)
if (eHTMLUnit_String == value.GetUnit()) {
value.GetStringValue(aValue);
} else {
aValue = "";
aValue.SetLength(0);
}
return NS_OK;
}
@@ -736,7 +736,7 @@ nsHTMLSelectElement::GetValue(nsString& aValue)
if (eHTMLUnit_String == value.GetUnit()) {
value.GetStringValue(aValue);
} else {
aValue = "";
aValue.SetLength(0);
}
return NS_OK;
}