diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:28:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:30:58 +0200 |
commit | de6d87c1ba18ecf20ec9ea5a405030e626ab544a (patch) | |
tree | 0e68e7cb8cef8ec9c1102ac0a5b00529e5cbdba1 | |
parent | 64fd710cd57986f319bbb1a379cd674b134b5708 (diff) |
More loplugin:simplifybool
Change-Id: I1ed1841c7cfbf69abfc8ba19cca348077da7b6d1
-rw-r--r-- | lotuswordpro/source/filter/lwpfribmark.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfframe.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx index 430d7e56b3b9..143a00f9365f 100644 --- a/lotuswordpro/source/filter/lwpfribmark.cxx +++ b/lotuswordpro/source/filter/lwpfribmark.cxx @@ -261,7 +261,7 @@ void LwpFribField::XFConvert(XFContentContainer* pXFPara) //end marker if (type == MARKER_END) { - if (pFieldMark->GetStart() == false) + if (!pFieldMark->GetStart()) return; if (pFieldMark->IsFormulaInsert()) { diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index 99d8b1872a11..e2edf492bda4 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -1295,7 +1295,7 @@ void LwpTableLayout::SplitConflictCells() continue; } pRowLayout= iter1->second; - if (pRowLayout->GetMergeCellFlag() == false) + if (!pRowLayout->GetMergeCellFlag()) { i++; continue; @@ -1310,7 +1310,7 @@ void LwpTableLayout::SplitConflictCells() if (iter2 == m_RowsMap.end()) continue; pEffectRow = iter2->second; - if (pEffectRow->GetMergeCellFlag() == false) + if (!pEffectRow->GetMergeCellFlag()) continue; else pEffectRow->SetCellSplit(nEffectRows); diff --git a/lotuswordpro/source/filter/xfilter/xfframe.cxx b/lotuswordpro/source/filter/xfilter/xfframe.cxx index 3eee43d15040..cc503820c4d9 100644 --- a/lotuswordpro/source/filter/xfilter/xfframe.cxx +++ b/lotuswordpro/source/filter/xfilter/xfframe.cxx @@ -141,7 +141,7 @@ void XFFrame::StartFrame(IXFStream *pStrm) pAttrList->AddAttribute( "draw:style-name", GetStyleName() ); assert(!m_strName.isEmpty() && "name should not be null."); - if( !m_strName.isEmpty() && m_isTextBox == false) + if( !m_strName.isEmpty() && !m_isTextBox) pAttrList->AddAttribute( "draw:name", m_strName ); //anchor type: switch( m_eAnchor ) |