mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Annotate missing breaks in switch for coverity
Coverity issues 102057 and 102060.
This commit is contained in:
parent
3b49d6bd27
commit
acebea0655
@ -1659,6 +1659,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
case LFUN_WORD_BACKWARD:
|
||||
case LFUN_WORD_LEFT:
|
||||
cur.screenUpdateFlags(Update::Decoration | Update::FitCursor);
|
||||
// fall through
|
||||
case LFUN_LINE_BEGIN_SELECT:
|
||||
case LFUN_WORD_BACKWARD_SELECT:
|
||||
case LFUN_WORD_LEFT_SELECT:
|
||||
@ -1684,6 +1685,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
case LFUN_WORD_RIGHT:
|
||||
case LFUN_LINE_END:
|
||||
cur.screenUpdateFlags(Update::Decoration | Update::FitCursor);
|
||||
// fall through
|
||||
case LFUN_WORD_FORWARD_SELECT:
|
||||
case LFUN_WORD_RIGHT_SELECT:
|
||||
case LFUN_LINE_END_SELECT:
|
||||
|
Loading…
Reference in New Issue
Block a user