vcl/inc/unx/gtk/gtkdata.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit 55cc7b0d96bb2e21ff101cde9ea08e9b0091147a Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun May 30 15:08:01 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon May 31 09:47:00 2021 +0200 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 <caol...@redhat.com> 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 } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits