return from switch

we don't break in this switch
This commit is contained in:
Juergen Spitzmueller 2020-05-17 13:57:31 +02:00
parent 36deaaac26
commit 602ac1401e

View File

@ -588,7 +588,7 @@ void Change::paintCue(PainterInfo & pi, double const x1, double const y1,
return; return;
case INSERTED: { case INSERTED: {
if (!lyxrc.ct_additions_underlined) if (!lyxrc.ct_additions_underlined)
break; return;
pi.pain.line(int(x1), int(y2) + 1, int(x2), int(y2) + 1, pi.pain.line(int(x1), int(y2) + 1, int(x2), int(y2) + 1,
color(), Painter::line_solid, color(), Painter::line_solid,
pi.base.solidLineThickness()); pi.base.solidLineThickness());