From 2d0ad7d308e73c69e94a768b1d5e00cc31c6a5e8 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Sat, 28 Mar 2020 23:52:55 -0400 Subject: [PATCH] Remove code disabled since 2005. No one knew then what it was supposed to do. --- src/mathed/InsetMathGrid.cpp | 19 ------------------- 1 file changed, 19 deletions(-) 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; } -- 2.39.2