diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-30 15:08:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-31 09:47:00 +0200 |
commit | 55cc7b0d96bb2e21ff101cde9ea08e9b0091147a (patch) | |
tree | 3cd85b0a3ff76a3013259ffcc60a78c496dccc16 /vcl/inc/unx/gtk | |
parent | f49e5902a3737c02fabf5bec23243ccb126426c4 (diff) |
cid#1485136 Structurally dead code
Change-Id: Ic02110bd0e4387ed41b2852cba7d070fb7014bd9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116406
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/unx/gtk')
-rw-r--r-- | vcl/inc/unx/gtk/gtkdata.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx index 5b37adaed263..cc37cd12a19b 100644 --- a/vcl/inc/unx/gtk/gtkdata.hxx +++ b/vcl/inc/unx/gtk/gtkdata.hxx @@ -173,11 +173,12 @@ inline bool surface_get_device_position(GdkSurface* pSurface, pMask); #else int nX(x), nY(y); - return gdk_window_get_device_position(pSurface, pDevice, - &nX, &nY, - pMask); + bool bRet = gdk_window_get_device_position(pSurface, pDevice, + &nX, &nY, + pMask); x = nX; y = nY; + return bRet; #endif } |