diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 14:30:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 08:31:30 +0200 |
commit | a1ead1a0281a369087f1b2cce09431542c29bece (patch) | |
tree | dcc7dd8dc2fee88d4f125a7e1c8dd265b64030d5 /lotuswordpro | |
parent | ee96ea7236958a89b60c87f688070412835ead3f (diff) |
loplugin unnecessaryparan improvements
Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e
Reviewed-on: https://gerrit.libreoffice.org/39587
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/xfilter/xffont.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xffont.cxx b/lotuswordpro/source/filter/xfilter/xffont.cxx index 6a6d0f16177c..799df220a350 100644 --- a/lotuswordpro/source/filter/xfilter/xffont.cxx +++ b/lotuswordpro/source/filter/xfilter/xffont.cxx @@ -309,7 +309,7 @@ void XFFont::ToXml(IXFStream *pStrm) if( (m_nFlag & XFFONT_FLAG_UNDERLINE) && m_eUnderline ) { pAttrList->AddAttribute("style:text-underline", GetUnderlineName(m_eUnderline) ); - if( (m_nFlag & XFFONT_FLAG_UNDERLINECOLOR) ) + if( m_nFlag & XFFONT_FLAG_UNDERLINECOLOR ) { pAttrList->AddAttribute( "style:text-underline-color", m_aUnderlineColor.ToString() ); } @@ -392,12 +392,12 @@ void XFFont::ToXml(IXFStream *pStrm) } //Color: - if( (m_nFlag & XFFONT_FLAG_COLOR) ) + if( m_nFlag & XFFONT_FLAG_COLOR ) { pAttrList->AddAttribute( "fo:color", m_aColor.ToString() ); } - if( (m_nFlag & XFFONT_FLAG_BGCOLOR) ) + if( m_nFlag & XFFONT_FLAG_BGCOLOR ) { if (m_bTransparent) pAttrList->AddAttribute( "style:text-background-color", "transparent"); |