[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 14 13:49:36 UTC 2017
vcl/source/window/mouse.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3d7db868d466c0b972d83e4b7acd5e6a42f8bbeb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 14 14:48:49 2017 +0100
loplugin:unoany (clang-cl)
Change-Id: I82f69e1fda3a63c7f1a521acbb2df6412d270455
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx
index b4f2f6d..7efe874 100644
--- a/vcl/source/window/mouse.cxx
+++ b/vcl/source/window/mouse.cxx
@@ -735,8 +735,8 @@ Reference< css::datatransfer::dnd::XDragSource > Window::GetDragSource()
#if defined(_WIN32)
aDragSourceSN = "com.sun.star.datatransfer.dnd.OleDragSource";
aDropTargetSN = "com.sun.star.datatransfer.dnd.OleDropTarget";
- aDragSourceAL[ 1 ] = makeAny( static_cast<sal_uInt64>( reinterpret_cast<sal_IntPtr>(pEnvData->hWnd) ) );
- aDropTargetAL[ 0 ] = makeAny( static_cast<sal_uInt64>( reinterpret_cast<sal_IntPtr>(pEnvData->hWnd) ) );
+ aDragSourceAL[ 1 ] <<= static_cast<sal_uInt64>( reinterpret_cast<sal_IntPtr>(pEnvData->hWnd) );
+ aDropTargetAL[ 0 ] <<= static_cast<sal_uInt64>( reinterpret_cast<sal_IntPtr>(pEnvData->hWnd) );
#elif defined MACOSX
/* FIXME: Mac OS X specific dnd interface does not exist! *
* Using Windows based dnd as a temporary solution */
More information about the Libreoffice-commits
mailing list