diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-11-09 11:01:13 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-11-09 11:05:24 +0200 |
commit | a066acd8709ce69eae4fee3993dbb298e02eb8d5 (patch) | |
tree | 34b11ac4aa804932d2d0169654635373a96dcd2d /svx | |
parent | 393ef5c8800835fdefb81bc0062ab30cd1bba140 (diff) |
Reset prefix and suffix for bullets
It seems needed in Impress, when applying a bullet
using the popup after a numbering with prefix/suffix
was applied.
Change-Id: I0faf8149b3564de9b08fb8107d7a639ae41d2133
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index b7a63e7634d4..0191f903e60d 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -456,6 +456,9 @@ bool BulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt1 aFmt.SetBulletFont(&rActBulletFont); aFmt.SetBulletChar(cChar ); aFmt.SetCharFmtName(sBulletCharFmtName); + OUString aEmptyStr; + aFmt.SetPrefix( aEmptyStr ); + aFmt.SetSuffix( aEmptyStr ); if (isResetSize) aFmt.SetBulletRelSize(45); aNum.SetLevel(i, aFmt); } |