diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 10:30:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 10:30:52 +0100 |
commit | 6409db7838751a3671485f035b9f975eb5ca23f2 (patch) | |
tree | 6462f16b42f5db0f448b960e126a189c2e6d7da3 /vcl | |
parent | 903a420609252aff12d9481b5fd8cc8d1f1d445f (diff) |
loplugin:constantfunction: vcl/unx/gtk3
Change-Id: Ieedf89bebb59e783dfe13ef2d5ae7ba3347cdc62
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/gtk/gtkdata.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx index e2702049d67d..416b583c2ea4 100644 --- a/vcl/inc/unx/gtk/gtkdata.hxx +++ b/vcl/inc/unx/gtk/gtkdata.hxx @@ -176,9 +176,7 @@ public: virtual void PostUserEvent() SAL_OVERRIDE; -#if GTK_CHECK_VERSION(3,0,0) - guint32 GetLastUserEventTime( bool /* b */ ) { return GDK_CURRENT_TIME; } // horrible hack -#else +#if !GTK_CHECK_VERSION(3,0,0) virtual bool Dispatch( XEvent *pEvent ) SAL_OVERRIDE; #endif }; |