diff options
author | Justin Luth <jluth@mail.com> | 2022-08-01 15:18:13 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-08-02 02:01:10 +0200 |
commit | 5c68399e6bea3aa18477487400f8bb143d6ed84e (patch) | |
tree | aefee0cc82706542d343ba9cd0c67adc607a2362 /sd | |
parent | 654454a32bd6dc40d131861fab5dbe0a9111a7c3 (diff) |
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>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlpool.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 12891698a19f..fb9abbf88221 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -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 |