summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-22 09:54:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-22 09:54:10 +0100
commit5640ef110094f33cf678f4e3ef4f3fd4334a00c8 (patch)
tree499c171c0b92750c8515c2698d93ad3e20a3291b /sc/source/ui/view
parent1d9eed341db208f11de6f020538dfdb74a5c48dd (diff)
There appears to be no reason to ignore macros in these parts of...
...loplugin:unnecessaryparen Change-Id: I473a1e16cf9f485a61af5477aca22798996253a3
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 7dd772d5b2a1..3bc7ccbb9685 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -3599,7 +3599,7 @@ sal_Int8 ScGridWindow::AcceptDrop( const AcceptDropEvent& rEvt )
// clear DND_ACTION_LINK when other actions are set. The usage below cannot handle
// multiple set values
- if((nMyAction & DND_ACTION_LINK) && (nMyAction & (DND_ACTION_COPYMOVE)))
+ if((nMyAction & DND_ACTION_LINK) && (nMyAction & DND_ACTION_COPYMOVE))
{
nMyAction &= ~DND_ACTION_LINK;
}