summaryrefslogtreecommitdiff
path: root/winaccessibility/inc
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-08-07 09:30:39 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-08-08 08:17:59 +0200
commitb9a981e88f54d24b2a39e7e1801de8ab503daccf (patch)
treee0d068afac02e5297a22b53feeac11a6f9c99fc9 /winaccessibility/inc
parente5aab6900f86042e4360bb792bc47690d09eaed7 (diff)
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<HWND>(...)` right away instead of a `static_cast<HWND>(reinterpret_cast<void*>(...))`. 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 <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility/inc')
-rw-r--r--winaccessibility/inc/AccObjectWinManager.hxx2
1 files changed, 1 insertions, 1 deletions
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);