Columns: Removed redundant format checking

This commit is contained in:
Paul Beckingham
2017-01-07 11:10:03 -05:00
parent ebd6273c86
commit 09562c8fac
17 changed files with 0 additions and 57 deletions

View File

@@ -55,10 +55,6 @@ void ColumnID::measure (Task& task, unsigned int& minimum, unsigned int& maximum
else length = 1 + (int) log10 ((double) task.id); // Slow
minimum = maximum = length;
if (_style != "default" &&
_style != "number")
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);
}
////////////////////////////////////////////////////////////////////////////////