diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-16 14:50:29 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-17 07:05:33 +0200 |
commit | 2a5da1609d9d39e5b2bd80bd6af80bebcb6c1fb9 (patch) | |
tree | 2c493555b1bd91c6240a876bec137a43d109e118 /winaccessibility/source/UAccCOM | |
parent | 6a36d9b341f647d5547027c33bf4dc7c3df12cf8 (diff) |
wina11y: Avoid some casting between HWND and sal_Int64
... by changing the corresponding params for
AccObjectManagerAgent::InsertAccObj and
AccObjectManagerAgent::InsertChildrenAccObj
to HWND.
Change-Id: I598bac30d827ae9166bc21cb5e8dff88a5cc99bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122203
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility/source/UAccCOM')
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx index ed0796c43ec1..325cd00e2a62 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.cxx +++ b/winaccessibility/source/UAccCOM/MAccessible.cxx @@ -1415,8 +1415,7 @@ IMAccessible* CMAccessible::GetChildInterface(long dChildID)//for test if(!isGet) { - g_pAgent->InsertAccObj(pXChild.get(), m_xAccessible.get(), - reinterpret_cast<sal_Int64>(m_hwnd)); + g_pAgent->InsertAccObj(pXChild.get(), m_xAccessible.get(), m_hwnd); isGet = get_IAccessibleFromXAccessible(pXChild.get(), &pChild); } |