From 3aef56aa5728667c72c0fc4e0939688353a73383 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 21 Mar 2013 22:38:37 +0100 Subject: coverity#704128 Logical vs. bitwise operator Change-Id: If798ad895cc1472e4885de5d81ba8df626cbd1b1 --- sw/source/ui/dochdl/swdtflvr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index 80c300e09650..34d9ff4ee68d 100644 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -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; } } -- cgit