Remove bogus assertions. Bug 344888, r+sr=tor.

git-svn-id: svn://10.0.0.236/trunk@225058 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jruderman%hmc.edu 2007-04-26 00:24:28 +00:00
parent d7d73517fd
commit f10ea529ea
3 changed files with 0 additions and 5 deletions

View File

@ -317,9 +317,6 @@ nsSVGAngle::SetValueAsString(const nsAString & aValueAsString)
if (rest!=number) {
PRUint16 unitType = GetUnitTypeForString(nsCRT::strtok(rest, "\x20\x9\xD\xA", &rest));
rv = NewValueSpecifiedUnits(unitType, (float)value);
if (rv != NS_OK) {
NS_ERROR("invalid length type");
}
}
else { // parse error
// no number

View File

@ -432,7 +432,6 @@ nsSVGLength::SetValueAsString(const nsAString & aValueAsString)
else { // parse error
// not a valid unit type
rv = NS_ERROR_FAILURE;
NS_ERROR("invalid length type");
}
}
else { // parse error

View File

@ -223,7 +223,6 @@ nsSVGLength2::SetBaseValueString(const nsAString &aValueAsString,
else { // parse error
// not a valid unit type
rv = NS_ERROR_FAILURE;
NS_ERROR("invalid length type");
}
}
else { // parse error