summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-12 15:53:31 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-12 17:28:51 +0100
commit91c059023f36217761cbdd281ba286d8e63258c9 (patch)
tree266fea7be900a6c6b8b8e5bc15e46d7ea583a43e /lotuswordpro
parentf1b5381ed70a21a6f460bcd6a8bedad10b9a5a02 (diff)
lotuswordpro: PVS-Studio V674 comparing long to double
Not sure if the GetMRest is supposed to be multiplied with something, but ~nobody knows or uses that format anyway so just suppress the warning. Change-Id: I883d090901cf0be0978579ade24beaed6f6ae5c1
Diffstat (limited to 'lotuswordpro')
-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 c71cf1594a86..feb3e49a736f 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -174,7 +174,7 @@ OUString LwpBulletStyleMgr::RegisterBulletStyle(LwpPara* pPara, LwpBulletOverrid
pListStyle->SetListBullet(nC, pSilverBullet->GetBulletChar(), pSilverBullet->GetBulletFontName(),
pSilverBullet->GetPrefix(), pSilverBullet->GetSuffix());
- if (pIndent->GetMRest() > 0.001)
+ if (pIndent->GetMRest() > 0) /* note: used to be 0.001, no idea why */
{
pListStyle->SetListPosition(nC, 0.0,
LwpTools::ConvertToMetric(LwpTools::ConvertFromUnits(pIndent->GetMRest())), 0.0, eAlign);