summaryrefslogtreecommitdiff
path: root/winaccessibility/source/service/AccObjectManagerAgent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'winaccessibility/source/service/AccObjectManagerAgent.cxx')
-rw-r--r--winaccessibility/source/service/AccObjectManagerAgent.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccObjectManagerAgent.cxx b/winaccessibility/source/service/AccObjectManagerAgent.cxx
index eb242c243183..9eb7f773d939 100644
--- a/winaccessibility/source/service/AccObjectManagerAgent.cxx
+++ b/winaccessibility/source/service/AccObjectManagerAgent.cxx
@@ -312,8 +312,7 @@ bool AccObjectManagerAgent::IsStateManageDescendant(XAccessible* pXAcc)
sal_Int64 AccObjectManagerAgent::Get_ToATInterface(
sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam)
{
- return static_cast<sal_Int64>(pWinManager->Get_ToATInterface(
- static_cast<HWND>(reinterpret_cast<void*>(hWnd)), lParam, wParam));
+ return pWinManager->Get_ToATInterface(hWnd, lParam, wParam);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */