Columns: Removed redundant format checking

This commit is contained in:
Paul Beckingham
2017-01-07 11:10:03 -05:00
parent a951332367
commit bb45ed3fce
14 changed files with 0 additions and 47 deletions

View File

@@ -49,8 +49,6 @@ void ColumnParent::measure (Task& task, unsigned int& minimum, unsigned int& max
{
if (_style == "default" || _style == "long") minimum = maximum = 36;
else if (_style == "short") minimum = maximum = 8;
else
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);
}
}