Kaydet (Commit) af34f26e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704125 Operands don't affect result

Change-Id: Ibc50a316a0462e01dad3aaae27d459497a3b3ae3
üst f1ec5dcf
...@@ -2275,8 +2275,14 @@ bool SwWW8ImplReader::IsDropCap() ...@@ -2275,8 +2275,14 @@ bool SwWW8ImplReader::IsDropCap()
pDCS = pPlcxMan->GetPapPLCF()->HasSprm(0x442C); pDCS = pPlcxMan->GetPapPLCF()->HasSprm(0x442C);
if(pDCS) if(pDCS)
{ {
/*
fdct short :3 0007 drop cap type
0 no drop cap
1 normal drop cap
2 drop cap in margin
*/
short nDCS = SVBT16ToShort( pDCS ); short nDCS = SVBT16ToShort( pDCS );
if((nDCS | 7) != 0) if (nDCS & 7)
return true; return true;
} }
} }
......
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