related tdf#150197: sd should SetListFormat
sd code should all use the new ListFormat behaviour instead of the legacy Prefix/Suffix numbering format. At this point I don't think any SD code is using the new ListFormat, but SetListFormat has code to SetPrefix and SetSuffix, so it shouldn't hurt to do this. Change-Id: I91f9816161676d3444533481cbb616a2f5b069e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137686 Tested-by: Justin Luth <jluth@mail.com> Reviewed-by: Justin Luth <jluth@mail.com>
This commit is contained in:
parent
654454a32b
commit
5c68399e6b
1 changed files with 1 additions and 2 deletions
|
@ -1118,8 +1118,7 @@ void SdStyleSheetPool::PutNumBulletItem( SfxStyleSheetBase* pSheet,
|
|||
SvxNumberFormat aFrmt( pDefaultRule->GetLevel(i) );
|
||||
aFrmt.SetNumberingType(SVX_NUM_CHAR_SPECIAL);
|
||||
// #i93908# clear suffix for bullet lists
|
||||
aFrmt.SetPrefix(OUString());
|
||||
aFrmt.SetSuffix(OUString());
|
||||
aFrmt.SetListFormat("", "", i);
|
||||
aFrmt.SetStart(1);
|
||||
aFrmt.SetBulletRelSize(45);
|
||||
aFrmt.SetBulletChar( 0x25CF ); // StarBats: 0xF000 + 34
|
||||
|
|
Loading…
Reference in a new issue