summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-05 13:44:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-06 06:47:06 +0100
commita2e3705d8b3b05ae664d54b762d6ff72927d5e48 (patch)
tree6ac31f9c9b419b12dbf065845a6941c143f57e2c /vcl/unx/generic
parentf423ac2d3bdba4263f1f41e31e7e2b7715afdd6e (diff)
loplugin:unnecessaryparen improve member expression
Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741 Reviewed-on: https://gerrit.libreoffice.org/68757 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 5de28384b357..5af29803bbeb 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -1439,7 +1439,7 @@ KeySym SalDisplay::GetKeySym( XKeyEvent *pEvent,
*pStatusReturn = 0;
SalI18N_InputMethod* const pInputMethod =
- ( pXLib_ ) ? pXLib_->GetInputMethod() : nullptr;
+ pXLib_ ? pXLib_->GetInputMethod() : nullptr;
// first get the printable of the possibly modified KeySym
if ( (aInputContext == nullptr)
@@ -1946,7 +1946,7 @@ void SalX11Display::Yield()
bool SalX11Display::Dispatch( XEvent *pEvent )
{
SalI18N_InputMethod* const pInputMethod =
- ( pXLib_ ) ? pXLib_->GetInputMethod() : nullptr;
+ pXLib_ ? pXLib_->GetInputMethod() : nullptr;
if( pInputMethod )
{