From 2ce00302275f8676decbdfe919590bb215b1c134 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sat, 10 Jan 2015 12:36:22 +0100 Subject: Fix long/sal_IntPtr mismatch on x86_64 platform on windows 25e291438231611823dadc195fd26d26a1b8ece4 changed Link class to use sal_IntPtr instead of long, but missed to adjust number of occurrences. Change-Id: I966185083a41b41c7385947a03369a8ce65c61b8 Reviewed-on: https://gerrit.libreoffice.org/13852 Reviewed-by: David Ostrovsky Tested-by: David Ostrovsky --- toolkit/source/awt/scrollabledialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx index 2d98a0c2574f..30533923b08f 100644 --- a/toolkit/source/awt/scrollabledialog.cxx +++ b/toolkit/source/awt/scrollabledialog.cxx @@ -104,13 +104,13 @@ void ScrollableWrapper::lcl_Scroll( long nX, long nY ) //IMPL_LINK( ScrollableWrapper, ScrollBarHdl, ScrollBar*, pSB ) template< class T> -long ScrollableWrapper::LinkStubScrollBarHdl( void* pThis, void* pCaller) +sal_IntPtr ScrollableWrapper::LinkStubScrollBarHdl( void* pThis, void* pCaller) { return ((ScrollableWrapper*)pThis )->ScrollBarHdl( (ScrollBar*)pCaller ); } template< class T> -long ScrollableWrapper::ScrollBarHdl( ScrollBar* pSB ) +sal_IntPtr ScrollableWrapper::ScrollBarHdl( ScrollBar* pSB ) { sal_uInt16 nPos = (sal_uInt16) pSB->GetThumbPos(); if( pSB == &maVScrollBar ) -- cgit