riched20: Remove duplicate operand in expression (coverity).
This commit is contained in:
parent
574cf27f2a
commit
34f74fdc71
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue