summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/rtf/rtfitem.cxx7
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 )