diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-20 01:29:56 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-20 01:33:42 +0100 |
commit | 4757ed435519b660d6e7922006a630f23bfedd5d (patch) | |
tree | b486721b2602da91be77098cf18238f778e05f73 /winaccessibility/source/service/msaaservice_impl.cxx | |
parent | 3e1c7d12eeefdfc50b842fe34f3db657292359b9 (diff) |
winaccessibility: XMSAAService could only work on 32-bit
... so replace all long with hyper to fit in 64-bit pointers.
Change-Id: Ia5c044e8d7cc8c4e55f1ef8c0fb0f91bb9a69e1c
Diffstat (limited to 'winaccessibility/source/service/msaaservice_impl.cxx')
-rw-r--r-- | winaccessibility/source/service/msaaservice_impl.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx index 6b27c9a913fc..b68efde7366c 100644 --- a/winaccessibility/source/service/msaaservice_impl.cxx +++ b/winaccessibility/source/service/msaaservice_impl.cxx @@ -80,8 +80,9 @@ public: virtual void SAL_CALL removeEventListener( const ::css::uno::Reference< ::css::lang::XEventListener >& ) { /* dummy */ } // XMSAAService - virtual sal_Int32 SAL_CALL getAccObjectPtr (long hWnd, long lParam, long wParam); - virtual void SAL_CALL handleWindowOpened(sal_Int32); + virtual sal_Int64 SAL_CALL getAccObjectPtr( + sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam); + virtual void SAL_CALL handleWindowOpened(sal_Int64); // XServiceInfo virtual OUString SAL_CALL getImplementationName(); @@ -112,7 +113,9 @@ void MSAAServiceImpl::initialize( Sequence< Any > const & args ) throw (Exceptio * @param * @return Com interface. */ -sal_Int32 MSAAServiceImpl::getAccObjectPtr ( long hWnd, long lParam, long wParam) throw (RuntimeException) +sal_Int64 MSAAServiceImpl::getAccObjectPtr( + sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam) +throw (RuntimeException) { SolarMutexGuard g; @@ -125,7 +128,7 @@ sal_Int32 MSAAServiceImpl::getAccObjectPtr ( long hWnd, long lParam, long wParam * @param * @return */ -void MSAAServiceImpl::handleWindowOpened( sal_Int32 nAcc) +void MSAAServiceImpl::handleWindowOpened(sal_Int64 nAcc) { SolarMutexGuard g; |