Kaydet (Commit) 7f694bed authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#736033 Missing break in switch

Change-Id: Iabfc6fc76a80ad30bd412826f60edbf8b3facdd2
üst 079e5765
......@@ -1370,22 +1370,21 @@ static void SetBorderLine( int nBorderTyp, SvxBoxItem& rItem,
switch( nBorderTyp )
{
case RTF_BOX: // run through all levels
case RTF_BRDRT:
rItem.SetLine( &rBorder, BOX_LINE_TOP );
if( RTF_BOX != nBorderTyp )
return;
// fall-through
case RTF_BRDRB:
rItem.SetLine( &rBorder, BOX_LINE_BOTTOM );
if( RTF_BOX != nBorderTyp )
return;
// fall-through
case RTF_BRDRL:
rItem.SetLine( &rBorder, BOX_LINE_LEFT );
if( RTF_BOX != nBorderTyp )
return;
// fall-through
case RTF_BRDRR:
rItem.SetLine( &rBorder, BOX_LINE_RIGHT );
if( RTF_BOX != nBorderTyp )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment