[LyX/master] Remove code disabled since 2005.
Richard Kimberly Heck
rikiheck at lyx.org
Sun Mar 29 03:33:03 UTC 2020
commit 2d0ad7d308e73c69e94a768b1d5e00cc31c6a5e8
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Sat Mar 28 23:52:55 2020 -0400
Remove code disabled since 2005.
No one knew then what it was supposed to do.
---
src/mathed/InsetMathGrid.cpp | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp
index bd9088f..b6d90ee 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;
}
More information about the lyx-cvs
mailing list