summaryrefslogtreecommitdiff
path: root/winaccessibility/source/service/AccTopWindowListener.cxx
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2013-11-02 20:40:47 +0100
committerMichael Meeks <michael.meeks@collabora.com>2013-11-19 10:02:24 +0000
commitcbf2a0d90cc9e2efb31aabd1d2db2acce76d21c7 (patch)
tree8596b44a5c55abdc29dd831ed8c161e403bca42d /winaccessibility/source/service/AccTopWindowListener.cxx
parent026a7dc3856fbdbdda30bc6d30610b389293953b (diff)
Gbuildify winaccessibility service
Conflicts: winaccessibility/source/UAccCOM/UAccCOM.def winaccessibility/source/service/AccObjectWinManager.cxx winaccessibility/source/service/checkmt.cxx winaccessibility/source/service/checkmt.hxx Change-Id: Ia66872bee7c70c840c1bd5caa626bf63eac9ef7c
Diffstat (limited to 'winaccessibility/source/service/AccTopWindowListener.cxx')
-rwxr-xr-x[-rw-r--r--]winaccessibility/source/service/AccTopWindowListener.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx
index 7e1de22e9c63..28d2b7930ead 100644..100755
--- a/winaccessibility/source/service/AccTopWindowListener.cxx
+++ b/winaccessibility/source/service/AccTopWindowListener.cxx
@@ -23,7 +23,8 @@
#include <vcl/window.hxx>
#include <toolkit/awt/Vclxwindow.hxx>
-#ifndef _SV_SYSDATA_HXX
+//#ifndef _SV_SYSDATA_HXX
+#if 0
#if defined( WIN ) || defined( WNT ) || defined( OS2 )
typedef sal_Int32 HWND;
typedef sal_Int32 HMENU;
@@ -32,8 +33,8 @@ typedef void *PVOID;
typedef PVOID HANDLE;
typedef HANDLE HFONT;
#endif
-#include <vcl/sysdata.hxx>
#endif
+#include <vcl/sysdata.hxx>
#include "AccTopWindowListener.hxx"
#include "unomsaaevent.hxx"
@@ -105,7 +106,7 @@ void AccTopWindowListener::handleWindowOpened( com::sun::star::accessibility::XA
//Only AccessibleContext exist, add all listeners
if(pAccessibleContext != NULL && systemdata != NULL)
{
- accManagerAgent.SaveTopWindowHandle((HWND)systemdata->hWnd, pAccessible);
+ accManagerAgent.SaveTopWindowHandle((long)(HWND)systemdata->hWnd, pAccessible);
AddAllListeners(pAccessible,NULL,(HWND)systemdata->hWnd);
@@ -181,7 +182,7 @@ void AccTopWindowListener::AddAllListeners(com::sun::star::accessibility::XAcces
return;
}
- accManagerAgent.InsertAccObj( pAccessible, pParentXAcc,pWND );
+ accManagerAgent.InsertAccObj( pAccessible, pParentXAcc,(long)(HWND)pWND );
if (!accManagerAgent.IsContainer(pAccessible))
{
@@ -220,7 +221,7 @@ void AccTopWindowListener::AddAllListeners(com::sun::star::accessibility::XAcces
}
}
-void AccTopWindowListener::windowClosing( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException)
+void AccTopWindowListener::windowClosing( const ::com::sun::star::lang::EventObject& ) throw (::com::sun::star::uno::RuntimeException)
{
}