From: Richard Kimberly Heck Date: Sun, 29 Mar 2020 03:52:55 +0000 (-0400) Subject: Remove code disabled since 2005. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f3be15db29e2645852736bfeea4abfaf084c2279;p=features.git Remove code disabled since 2005. No one knew then what it was supposed to do. --- diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index bd9088fb02..b6d90eed16 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -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; }