diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 12:41:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 12:41:37 +0100 |
commit | 7f694bed84fcd41e727dcee3bac8bcb9d01727fd (patch) | |
tree | 6d753dd4ee5bef5b59832325181af23eda8c6e08 /editeng | |
parent | 079e57658b7ca5d8dc99d049fc8ed63b19776b37 (diff) |
coverity#736033 Missing break in switch
Change-Id: Iabfc6fc76a80ad30bd412826f60edbf8b3facdd2
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index 1f2f6d053b02..aca69abe84e9 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -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 ) |