[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Fri Jun 29 19:10:51 UTC 2018
vcl/source/window/mouse.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f849e2201819cbbfe36967d1e45d93a3c16aa6e6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 29 15:57:06 2018 +0200
Improved loplugin:redundantcast (const-qualified typedefs): vcl
Change-Id: Iac5978ee41f76a2b34c7dae12509212ba1c9d7e7
Reviewed-on: https://gerrit.libreoffice.org/56706
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx
index 8ce2cec21168..b598996a0c51 100644
--- a/vcl/source/window/mouse.cxx
+++ b/vcl/source/window/mouse.cxx
@@ -755,9 +755,9 @@ Reference< css::datatransfer::dnd::XDragSource > Window::GetDragSource()
aDropTargetSN = "com.sun.star.datatransfer.dnd.X11DropTarget";
aDragSourceAL[ 0 ] <<= Application::GetDisplayConnection();
- aDragSourceAL[ 1 ] <<= static_cast<sal_IntPtr>(pEnvData->aShellWindow);
+ aDragSourceAL[ 1 ] <<= pEnvData->aShellWindow;
aDropTargetAL[ 0 ] <<= Application::GetDisplayConnection();
- aDropTargetAL[ 1 ] <<= static_cast<sal_IntPtr>(pEnvData->aShellWindow);
+ aDropTargetAL[ 1 ] <<= pEnvData->aShellWindow;
#endif
if( !aDragSourceSN.isEmpty() )
mpWindowImpl->mpFrameData->mxDragSource.set(
More information about the Libreoffice-commits
mailing list