summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-17 14:04:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-19 07:43:51 +0100
commit67408174f82b42ecf55c7ea0a4348aabf73a51f3 (patch)
tree216841049da55347279e0ca3456ae6bc321d6805 /vcl
parent9656150f313229533a291eefd1bf33986bb19730 (diff)
loplugin:constantparam
Change-Id: Ifc2a8db82bd8bb508bce7f226e2cb499d1e6f6f8 Reviewed-on: https://gerrit.libreoffice.org/63492 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/treelist/transfer.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/treelist/transfer.cxx b/vcl/source/treelist/transfer.cxx
index 28fe43fda5f3..4d6ef1f9b1cf 100644
--- a/vcl/source/treelist/transfer.cxx
+++ b/vcl/source/treelist/transfer.cxx
@@ -952,8 +952,7 @@ void TransferableHelper::CopyToSelection( vcl::Window *pWindow ) const
}
-void TransferableHelper::StartDrag( vcl::Window* pWindow, sal_Int8 nDnDSourceActions,
- sal_Int32 nDnDPointer )
+void TransferableHelper::StartDrag( vcl::Window* pWindow, sal_Int8 nDnDSourceActions )
{
DBG_ASSERT( pWindow, "Window pointer is NULL" );
@@ -987,7 +986,7 @@ void TransferableHelper::StartDrag( vcl::Window* pWindow, sal_Int8 nDnDSourceAct
aEvt.DragOriginY = aPt.Y();
aEvt.DragSource = xDragSource;
- xDragSource->startDrag( aEvt, nDnDSourceActions, nDnDPointer, DND_IMAGE_NONE, this, this );
+ xDragSource->startDrag( aEvt, nDnDSourceActions, DND_POINTER_NONE, DND_IMAGE_NONE, this, this );
}
catch( const css::uno::Exception& )
{