summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/saldisp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 14:30:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-06 08:31:30 +0200
commita1ead1a0281a369087f1b2cce09431542c29bece (patch)
treedcc7dd8dc2fee88d4f125a7e1c8dd265b64030d5 /vcl/unx/generic/app/saldisp.cxx
parentee96ea7236958a89b60c87f688070412835ead3f (diff)
loplugin unnecessaryparan improvements
Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e Reviewed-on: https://gerrit.libreoffice.org/39587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic/app/saldisp.cxx')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 9d64d665648a..facbcef4ea28 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -729,11 +729,11 @@ KeyIndicatorState SalDisplay::GetIndicatorState() const
KeyIndicatorState nState = KeyIndicatorState::NONE;
XkbGetIndicatorState(pDisp_, XkbUseCoreKbd, &_state);
- if ((_state & 0x00000001))
+ if (_state & 0x00000001)
nState |= KeyIndicatorState::CAPSLOCK;
- if ((_state & 0x00000002))
+ if (_state & 0x00000002)
nState |= KeyIndicatorState::NUMLOCK;
- if ((_state & 0x00000004))
+ if (_state & 0x00000004)
nState |= KeyIndicatorState::SCROLLLOCK;
return nState;