vcl/source/window/mouse.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c9ccb88b99eeda1d227fbbbbf44587c09241e74d
Author: Andras Timar <[email protected]>
AuthorDate: Fri Mar 25 13:56:53 2022 +0100
Commit: Andras Timar <[email protected]>
CommitDate: Fri Mar 25 15:21:20 2022 +0100
fix error: unused variable
Change-Id: I941e3abd1986bfb490acae3585e165ce42d9c71c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132119
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Andras Timar <[email protected]>
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(