summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-04-27 14:19:42 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-04-27 15:29:22 +0200
commit819547539ede5955b1afc23022eed5c1d88bde46 (patch)
tree78addd5cea006bb8e967b76342f0e698e84539a7 /sw
parentc4a8c792c7246939be04cff9a57dcc35f6418566 (diff)
De-uglify switch-case statement
horrible indent, almost like in yast2-network Change-Id: I14670260e5904f82fbaec85e98c321d31dbb646e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/misc/numberingtypelistbox.cxx18
1 files changed, 14 insertions, 4 deletions
diff --git a/sw/source/uibase/misc/numberingtypelistbox.cxx b/sw/source/uibase/misc/numberingtypelistbox.cxx
index e6eb6a82b6e7..33361a478546 100644
--- a/sw/source/uibase/misc/numberingtypelistbox.cxx
+++ b/sw/source/uibase/misc/numberingtypelistbox.cxx
@@ -91,10 +91,20 @@ void SwNumberingTypeListBox::Reload(sal_uInt16 nTypeFlags)
case style::NumberingType::NUMBER_NONE:
bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_NO_NUMBERING);
nPos = 0;
- break;
- case style::NumberingType::CHAR_SPECIAL: bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BULLET); break;
- case style::NumberingType::PAGE_DESCRIPTOR:bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_PAGE_STYLE_NUMBERING); break;
- case style::NumberingType::BITMAP:bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BITMAP ); break;
+
+ break;
+ case style::NumberingType::CHAR_SPECIAL:
+ bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BULLET);
+
+ break;
+ case style::NumberingType::PAGE_DESCRIPTOR:
+ bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_PAGE_STYLE_NUMBERING);
+
+ break;
+ case style::NumberingType::BITMAP:
+ bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BITMAP );
+
+ break;
default:
if (nValue > style::NumberingType::CHARS_LOWER_LETTER_N)
{