riched20: Remove duplicate operand in expression (coverity).

This commit is contained in:
André Hentschel 2012-11-03 17:25:52 +01:00 committed by Alexandre Julliard
parent 574cf27f2a
commit 34f74fdc71
1 changed files with 1 additions and 5 deletions

View File

@ -251,11 +251,8 @@ ME_StreamOutRTFFontAndColorTbl(ME_OutStream *pStream, ME_DisplayItem *pFirstRun,
} while (item); } while (item);
item = ME_GetParagraph(pFirstRun); item = ME_GetParagraph(pFirstRun);
do { do {
if (item->member.para.pCell && item->member.para.pCell) if ((pCell = item->member.para.pCell))
{ {
pCell = item->member.para.pCell;
if (pCell)
{
ME_Border* borders[4] = { &pCell->member.cell.border.top, ME_Border* borders[4] = { &pCell->member.cell.border.top,
&pCell->member.cell.border.left, &pCell->member.cell.border.left,
&pCell->member.cell.border.bottom, &pCell->member.cell.border.bottom,
@ -275,7 +272,6 @@ ME_StreamOutRTFFontAndColorTbl(ME_OutStream *pStream, ME_DisplayItem *pFirstRun,
} }
} }
} }
}
} }
if (item == pLastPara) if (item == pLastPara)
break; break;