summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2022-03-25 13:56:53 +0100
committerAndras Timar <andras.timar@collabora.com>2022-03-25 15:21:20 +0100
commitc9ccb88b99eeda1d227fbbbbf44587c09241e74d (patch)
tree349a6099685a5b26cbd90e47e39a3fd8f3c33500
parent461de6f712ebdc5a5a3f0e0563c50d92614f0760 (diff)
fix error: unused variable
Change-Id: I941e3abd1986bfb490acae3585e165ce42d9c71c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132119 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--vcl/source/window/mouse.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx
index 0c77347f89f8..9b533b991a9e 100644
--- a/vcl/source/window/mouse.cxx
+++ b/vcl/source/window/mouse.cxx
@@ -769,6 +769,9 @@ Reference< css::datatransfer::dnd::XDragSource > Window::GetDragSource()
pDragSourceAL[ 1 ] <<= pEnvData->aShellWindow;
pDropTargetAL[ 0 ] <<= Application::GetDisplayConnection();
pDropTargetAL[ 1 ] <<= pEnvData->aShellWindow;
+#else // LOKit
+ (void)pDragSourceAL;
+ (void)pDropTargetAL;
#endif
if( !aDragSourceSN.isEmpty() )
mpWindowImpl->mpFrameData->mxDragSource.set(