summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-19 10:49:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-19 11:04:16 +0200
commit153ea761e32238d1dd882823cf27da1b11c4d66a (patch)
tree3c0b531049e3071b25d47bc76ece73560c246646 /lotuswordpro/source/filter/lwpbulletstylemgr.cxx
parentDisambiguate needlessly overloaded SvDetachedEventDescriptor::hasByName (diff)
downloadcore-153ea761e32238d1dd882823cf27da1b11c4d66a.tar.gz
core-153ea761e32238d1dd882823cf27da1b11c4d66a.zip
Consistently represent bullet char as OUString
(One difference is that for an XFListLevelBullet for which SetBulletChar has not been called, ToXml will use an empty string now instead of a string containing a single NUL character. But given that initializing m_chBullet to zero in the XFListLevelBullet ctor was only added recently with 72069675955aaf0b72a7842453347e3e7293f56d "coverity#738770: Unitialized scalar field," assume that ToXml is supposed to be only called after SetBulletChar has been called.) Change-Id: I7a5d7496b038cd094ab11ef8cbc1823ffc5bc130
Diffstat (limited to 'lotuswordpro/source/filter/lwpbulletstylemgr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
index 933f239bd5fa..0af56ef2782f 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -236,7 +236,7 @@ OUString LwpBulletStyleMgr::RegisterBulletStyle(LwpPara* pPara, LwpBulletOverrid
aSuffix = aParaNumbering.pSuffix->GetText();
}
- pListStyle->SetListBullet(nPos, LwpSilverBullet::GetNumCharByStyleID(pParaNumber).toChar(),
+ pListStyle->SetListBullet(nPos, LwpSilverBullet::GetNumCharByStyleID(pParaNumber),
"Times New Roman", aPrefix, aSuffix);
}