- // Create the contents of the unit choices
- // Don't include the "%" terms...
- vector<string> units_vec = getLatexUnits();
-#if 0
- for (vector<string>::iterator it = units_vec.begin();
- it != units_vec.end(); ++it) {
- if (contains(*it, "%"))
- it = units_vec.erase(it, it + 1) - 1;
- }
-#else
- vector<string>::iterator ret =
- remove_if(units_vec.begin(), units_vec.end(),
- bind2nd(contains_functor(), "%"));
- units_vec.erase(ret, units_vec.end());
-#endif
-
- string units = getStringFromVector(units_vec, "|");
-
- fl_addto_choice(column_options_->choice_value_column_width,
- units.c_str());
- fl_addto_choice(cell_options_->choice_value_mcolumn_width,
- units.c_str());