making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user