diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index dc99b5263f..424aa86796 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -498,11 +498,6 @@ void LyXAction::init() */ { LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit }, - -#if 0 - { LFUN_LIST_INSERT, "list-insert", Noop, Edit }, -#endif - /*! * \var lyx::FuncCode lyx::LFUN_ESCAPE * \li Action: Clears the selection. If no text is selected call #LFUN_FINISHED_FORWARD. diff --git a/src/Text3.cpp b/src/Text3.cpp index 707cc7d3e8..6f93ff818d 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1393,9 +1393,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) cur.posForward(); break; } -#if 0 - case LFUN_LIST_INSERT: -#endif case LFUN_CAPTION_INSERT: case LFUN_FOOTNOTE_INSERT: case LFUN_NOTE_INSERT: @@ -1984,11 +1981,6 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd, case LFUN_FLOAT_LIST_INSERT: code = FLOAT_LIST_CODE; break; -#if 0 - case LFUN_LIST_INSERT: - code = LIST_CODE; - break; -#endif case LFUN_CAPTION_INSERT: code = CAPTION_CODE; break;