i#119907# Numbering type now applied (almost) unconditionally.
Patch by: Steve Yin Cleanup: af Change-Id: Iccf48a24cc947115524b1d92874386c1e2e0aecf
This commit is contained in:
committed by
Eike Rathke
parent
3dd2eafcab
commit
8569f74b89
@@ -286,18 +286,9 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex( const Sequence< beans::Prope
|
|||||||
sal_Int16 nSet = sal_Int16();
|
sal_Int16 nSet = sal_Int16();
|
||||||
aVal >>= nSet;
|
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);
|
aFmt.SetNumberingType(nSet);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user