diff options
author | Andre Fischer <af@apache.org> | 2012-06-08 10:36:51 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-14 16:03:04 +0100 |
commit | 8569f74b898f3c82f338ee151d49ff30ad1e3035 (patch) | |
tree | 7e9d0e5ac36435dd9265ac5cff046cba3e18871b /editeng | |
parent | 3dd2eafcab221b4c0ceea00a14745a7a57d01580 (diff) |
i#119907# Numbering type now applied (almost) unconditionally.
Patch by: Steve Yin
Cleanup: af
Change-Id: Iccf48a24cc947115524b1d92874386c1e2e0aecf
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 4e6a4141e53c..d8937a746e3a 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -286,18 +286,9 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex( const Sequence< beans::Prope sal_Int16 nSet = sal_Int16(); aVal >>= nSet; - switch(nSet) + // There is no reason to limit numbering types. + if ( nSet>=0 ) { - case SVX_NUM_BITMAP: - case SVX_NUM_CHAR_SPECIAL: - case SVX_NUM_ROMAN_UPPER: - case SVX_NUM_ROMAN_LOWER: - case SVX_NUM_CHARS_UPPER_LETTER: - case SVX_NUM_CHARS_LOWER_LETTER: - case SVX_NUM_ARABIC: - case SVX_NUM_NUMBER_NONE: - case SVX_NUM_CHARS_UPPER_LETTER_N: - case SVX_NUM_CHARS_LOWER_LETTER_N: aFmt.SetNumberingType(nSet); continue; } |