[Libreoffice-commits] core.git: svx/source
Maxim Monastirsky
momonasmon at gmail.com
Sun Nov 9 01:06:13 PST 2014
svx/source/sidebar/nbdtmg.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit a066acd8709ce69eae4fee3993dbb298e02eb8d5
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Sun Nov 9 11:01:13 2014 +0200
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
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index b7a63e7..0191f90 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);
}
More information about the Libreoffice-commits
mailing list