Remove code disabled since 2005.

No one knew then what it was supposed to do.
This commit is contained in:
Richard Kimberly Heck 2020-03-28 23:52:55 -04:00
parent d34bb46387
commit 2d0ad7d308

View File

@ -1793,25 +1793,6 @@ bool InsetMathGrid::getStatus(Cursor & cur, FuncRequest const & cmd,
from_utf8(s)));
}
#if 0
// FIXME: What did this code do?
// Please check whether it is still needed!
// should be more precise
if (v_align_ == '\0') {
status.enable(true);
break;
}
if (cmd.argument().empty()) {
status.enable(false);
break;
}
if (!contains("tcb", cmd.argument()[0])) {
status.enable(false);
break;
}
status.setOnOff(cmd.argument()[0] == v_align_);
status.setEnabled(true);
#endif
return true;
}