]> git.lyx.org Git - features.git/commitdiff
Remove code disabled since 2005.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 29 Mar 2020 03:52:55 +0000 (23:52 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:55 +0000 (15:48 +0200)
No one knew then what it was supposed to do.

src/mathed/InsetMathGrid.cpp

index bd9088fb02f600780d1c26567dc4b8b8d72a0938..b6d90eed16b9a2081fe5d60cbc686478fb0ffe13 100644 (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;
        }