diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 12:23:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 18:19:23 +0100 |
commit | d460842616d467dfaf7b51ac2db94adb1ff5cbb0 (patch) | |
tree | ba2fe48f2568784d1f7d8f04ad33b827b616f40b /lotuswordpro | |
parent | 0e5fc156da7f40528f636a89b6bad7e14bdc8350 (diff) |
loplugin:unnecessaryparen improve return check
Change-Id: I8128aa4b5fc60efd1dbf5971cdde11e588f5f64b
Reviewed-on: https://gerrit.libreoffice.org/47167
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpfont.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfont.cxx b/lotuswordpro/source/filter/lwpfont.cxx index e9011a5ea3db..d49ca0d6ea35 100644 --- a/lotuswordpro/source/filter/lwpfont.cxx +++ b/lotuswordpro/source/filter/lwpfont.cxx @@ -409,7 +409,7 @@ OUString LwpFontNameManager::GetNameByIndex(sal_uInt16 index) return OUString(); sal_uInt16 nameindex = m_pFontNames[index-1].GetFaceID(); - return (m_FontTbl.GetFaceName(nameindex)); + return m_FontTbl.GetFaceName(nameindex); } void LwpFontAttrManager::Read(LwpObjectStream *pStrm) @@ -515,7 +515,7 @@ void LwpFontManager::Override(sal_uInt32 fontID, rtl::Reference<XFFont> const & OUString LwpFontManager::GetNameByID(sal_uInt32 fontID) { - return ( m_FNMgr.GetNameByIndex(GetFontNameIndex(fontID)) );//use font id for bullet? + return m_FNMgr.GetNameByIndex(GetFontNameIndex(fontID));//use font id for bullet? } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |