Kaydet (Commit) de6d87c1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:simplifybool

Change-Id: I1ed1841c7cfbf69abfc8ba19cca348077da7b6d1
üst 64fd710c
......@@ -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())
{
......
......@@ -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);
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment