Kaydet (Commit) 3aef56aa authored tarafından Julien Nabet's avatar Julien Nabet

coverity#704128 Logical vs. bitwise operator

Change-Id: If798ad895cc1472e4885de5d81ba8df626cbd1b1
üst 158883a9
......@@ -1113,7 +1113,7 @@ int SwTransferable::Paste( SwWrtShell& rSh, TransferableDataHelper& rData )
{
if( rData.HasFormat( SOT_FORMAT_RTF ) )
{
nAction = EXCHG_OUT_ACTION_INSERT_STRING | (nAction & !EXCHG_ACTION_MASK);
nAction = EXCHG_OUT_ACTION_INSERT_STRING | (nAction & ~EXCHG_ACTION_MASK);
nFormat = SOT_FORMAT_RTF;
}
}
......
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