diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-17 17:21:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-18 08:49:37 +0200 |
commit | eea6d3951b66f85df60574e10f19a81bfd7529cc (patch) | |
tree | 0509297cd8fb5e59750f45099e04bbea7be968cc /lotuswordpro | |
parent | 0501869949b65b27303a41fd235a6ec32a4c90a7 (diff) |
loplugin:unnecessaryparen
look for statements like
return (function());
Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3
Reviewed-on: https://gerrit.libreoffice.org/41260
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index 7f34c284b2e5..164e88f144ce 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -659,7 +659,7 @@ double LwpMiddleLayout::GetGeometryHeight() LwpLayoutGeometry* pGeo = GetGeometry(); if(pGeo) { - return ( LwpTools::ConvertFromUnitsToMetric( pGeo->GetHeight() ) ); + return LwpTools::ConvertFromUnitsToMetric( pGeo->GetHeight() ); } else return -1; @@ -674,7 +674,7 @@ double LwpMiddleLayout::GetGeometryWidth() LwpLayoutGeometry* pGeo = GetGeometry(); if(pGeo) { - return ( LwpTools::ConvertFromUnitsToMetric( pGeo->GetWidth() ) ); + return LwpTools::ConvertFromUnitsToMetric( pGeo->GetWidth() ); } else return -1; diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 3b5f4957ceba..17b1708ceee8 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -904,8 +904,8 @@ XFContentContainer* LwpPara::AddBulletList(XFContentContainer* pCont) m_nLevel = nLevel;//for get para level } - return ( pBulletStyleMgr->AddBulletList(pCont, bOrdered, m_aBulletStyleName, - nLevel, m_pBullOver->IsSkip()) ); + return pBulletStyleMgr->AddBulletList(pCont, bOrdered, m_aBulletStyleName, + nLevel, m_pBullOver->IsSkip()); } LwpNumberingOverride* LwpPara::GetParaNumbering() |