summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-21 22:38:37 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-21 22:40:31 +0100
commit3aef56aa5728667c72c0fc4e0939688353a73383 (patch)
tree0aa49fad9cd471aa790e53545887f0aaa4af2773 /sw
parent158883a9e90aab786f9af97c15ecad85fea968bd (diff)
coverity#704128 Logical vs. bitwise operator
Change-Id: If798ad895cc1472e4885de5d81ba8df626cbd1b1
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dochdl/swdtflvr.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}