summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-11-09 11:01:13 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2014-11-09 11:05:24 +0200
commita066acd8709ce69eae4fee3993dbb298e02eb8d5 (patch)
tree34b11ac4aa804932d2d0169654635373a96dcd2d
parent393ef5c8800835fdefb81bc0062ab30cd1bba140 (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
-rw-r--r--svx/source/sidebar/nbdtmg.cxx3
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);
}