summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-24 08:31:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-24 08:32:36 +0100
commit78bb1a2a51a991f605ae5c51d813697673bbc670 (patch)
treeedb21a49a8d180395d7cb3452fdb0cc76a817db9 /vcl
parentab6d3b3794f64b6dde8e9309f4fd99051aecbda3 (diff)
Fix --enable-kde4 code
...after de8f6b25de6fbe813fe172542e7eff1596b37335 "loplugin:unused-returns in vcl" Change-Id: I82414b20b7dbb9e7ba361c0f4d9451c74ea4d4f2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/kde4/VCLKDEApplication.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/kde4/VCLKDEApplication.cxx b/vcl/unx/kde4/VCLKDEApplication.cxx
index 78181b2a486c..319ce17cce13 100644
--- a/vcl/unx/kde4/VCLKDEApplication.cxx
+++ b/vcl/unx/kde4/VCLKDEApplication.cxx
@@ -33,8 +33,9 @@ bool VCLKDEApplication::x11EventFilter(XEvent* ev)
{
//if we have a display and the display consumes the event
//do not process the event in qt
- if (SalKDEDisplay::self() && SalKDEDisplay::self()->Dispatch(ev))
+ if (SalKDEDisplay::self())
{
+ SalKDEDisplay::self()->Dispatch(ev);
return true;
}