From b9a981e88f54d24b2a39e7e1801de8ab503daccf Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Mon, 7 Aug 2023 09:30:39 +0100 Subject: wina11y: Move and simplify casting for Get_ToATInterface Move the casting from AccObjectManagerAgent::Get_ToATInterface to AccObjectWinManager::Get_ToATInterface and just do a `reinterpret_cast(...)` right away instead of a `static_cast(reinterpret_cast(...))`. This is in preparation of dropping the AccObjectManagerAgent indirection altogether. Change-Id: Iad759f856f727418aab0d20b479fc38feac714ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155436 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- winaccessibility/inc/AccObjectWinManager.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winaccessibility/inc') diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx index 55640fd8c6cb..b8f6c3bcd0f4 100644 --- a/winaccessibility/inc/AccObjectWinManager.hxx +++ b/winaccessibility/inc/AccObjectWinManager.hxx @@ -105,7 +105,7 @@ public: bool NotifyAccEvent(css::accessibility::XAccessible* pXAcc, UnoMSAAEvent eEvent); - LRESULT Get_ToATInterface(HWND hWnd, long lParam, WPARAM wParam); + sal_Int64 Get_ToATInterface(sal_Int64 nHWnd, long lParam, WPARAM wParam); void DecreaseState(css::accessibility::XAccessible* pXAcc, sal_Int64 nState); void IncreaseState(css::accessibility::XAccessible* pXAcc, sal_Int64 nState); -- cgit