[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Wed Jan 24 07:32:58 UTC 2018


 vcl/unx/kde4/VCLKDEApplication.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 78bb1a2a51a991f605ae5c51d813697673bbc670
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 24 08:31:41 2018 +0100

    Fix --enable-kde4 code
    
    ...after de8f6b25de6fbe813fe172542e7eff1596b37335 "loplugin:unused-returns in
    vcl"
    
    Change-Id: I82414b20b7dbb9e7ba361c0f4d9451c74ea4d4f2

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;
     }
 


More information about the Libreoffice-commits mailing list