From a1ead1a0281a369087f1b2cce09431542c29bece Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2017 14:30:39 +0200 Subject: loplugin unnecessaryparan improvements Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e Reviewed-on: https://gerrit.libreoffice.org/39587 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/xfilter/xffont.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lotuswordpro') 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"); -- cgit