diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-20 20:27:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-21 00:41:08 +0100 |
commit | c70fd83a916770d068e2278c0e6f105826178858 (patch) | |
tree | 10943bb4302b096337257e5d535d47ecc23bf8c9 /winaccessibility/inc | |
parent | 07d4ae39601175caed76b4aa41d6e21d77c717b0 (diff) |
winaccessibility: clean up global TopLevelWindowListener
Apparently the life-cycle of this global variable is tied to the
MSAAService anyway, so just make it a member of that.
Also it appears that the FreeTopListener function would call release()
but at the place where the global variable is assigned acquire() was
missing. Using a rtl::Reference should fix this up too.
Change-Id: I6dd305dfd990d7fd4c54b16d971700b88470dc43
Diffstat (limited to 'winaccessibility/inc')
-rw-r--r-- | winaccessibility/inc/g_msacc.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/winaccessibility/inc/g_msacc.hxx b/winaccessibility/inc/g_msacc.hxx index 9f851bf42622..b9670cfa50bb 100644 --- a/winaccessibility/inc/g_msacc.hxx +++ b/winaccessibility/inc/g_msacc.hxx @@ -20,12 +20,8 @@ #ifndef __G_MSACC_HXX #define __G_MSACC_HXX -extern void FreeTopWindowListener(); -extern void handleWindowOpened_impl(sal_Int64 pAcc); extern sal_Int64 GetMSComPtr(sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam); -extern AccTopWindowListener* g_pTop; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |