diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx index 76e3e548fcdf..5c162dfed1ea 100644 --- a/winaccessibility/inc/AccObjectWinManager.hxx +++ b/winaccessibility/inc/AccObjectWinManager.hxx @@ -102,8 +102,8 @@ public: LRESULT Get_ToATInterface(HWND hWnd, long lParam, WPARAM wParam); - void DecreaseState( css::accessibility::XAccessible* pXAcc,unsigned short pState ); - void IncreaseState( css::accessibility::XAccessible* pXAcc,unsigned short pState ); + void DecreaseState(css::accessibility::XAccessible* pXAcc, sal_Int64 nState); + void IncreaseState(css::accessibility::XAccessible* pXAcc, sal_Int64 nState); void UpdateState( css::accessibility::XAccessible* pXAcc ); void SetValue( css::accessibility::XAccessible* pXAcc, css::uno::Any pAny ); diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx index de527270a8e0..b0ee01525de9 100644 --- a/winaccessibility/source/service/AccObjectWinManager.cxx +++ b/winaccessibility/source/service/AccObjectWinManager.cxx @@ -796,11 +796,11 @@ AccObjectWinManager::CreateAccEventListener(XAccessible* pXAcc) * @param pState Changed state. * @return */ -void AccObjectWinManager::DecreaseState( XAccessible* pXAcc,unsigned short pState ) +void AccObjectWinManager::DecreaseState(XAccessible* pXAcc, sal_Int64 nState) { AccObject* pAccObj = GetAccObjByXAcc( pXAcc ); if( pAccObj ) - pAccObj->DecreaseState( pState ); + pAccObj->DecreaseState(nState); } /** @@ -811,11 +811,11 @@ void AccObjectWinManager::DecreaseState( XAccessible* pXAcc,unsigned short pStat * @param pState Changed state. * @return */ -void AccObjectWinManager::IncreaseState( XAccessible* pXAcc,unsigned short pState ) +void AccObjectWinManager::IncreaseState(XAccessible* pXAcc, sal_Int64 nState) { AccObject* pAccObj = GetAccObjByXAcc( pXAcc ); if( pAccObj ) - pAccObj->IncreaseState( pState ); + pAccObj->IncreaseState(nState); } void AccObjectWinManager::UpdateState( css::accessibility::XAccessible* pXAcc )