diff options
Diffstat (limited to 'winaccessibility/source/service/AccObjectWinManager.cxx')
-rwxr-xr-x[-rw-r--r--] | winaccessibility/source/service/AccObjectWinManager.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx index 8761813b24c5..cedd6d8f2a50 100644..100755 --- a/winaccessibility/source/service/AccObjectWinManager.cxx +++ b/winaccessibility/source/service/AccObjectWinManager.cxx @@ -139,7 +139,7 @@ AccObjectWinManager::~AccObjectWinManager() long AccObjectWinManager::Get_ToATInterface( HWND hWnd, long lParam, long wParam) { - vos::OGuard localGuard(maATInterfaceMutex);// + osl::MutexGuard localGuard(maATInterfaceMutex);// IMAccessible* pRetIMAcc = NULL; @@ -221,7 +221,7 @@ AccObject* AccObjectWinManager::GetTopWindowAccObj(HWND hWnd) */ sal_Bool AccObjectWinManager::NotifyAccEvent(XAccessible* pXAcc,short state) { - vos::OGuard aGuard(aNotifyMutex); + osl::MutexGuard aGuard(aNotifyMutex); if (!m_bBridgeRegistered) { @@ -573,7 +573,7 @@ void AccObjectWinManager::DeleteFromHwndXAcc(XAccessible* pXAcc ) */ void AccObjectWinManager::DeleteChildrenAccObj(XAccessible* pXAcc) { - vos::OGuard aGuard( aDeleteMutex ); + osl::MutexGuard aGuard( aDeleteMutex ); AccObject* currentObj=NULL; AccObject* childObj=NULL; XAccessible* pTmpXAcc=NULL; @@ -602,7 +602,7 @@ void AccObjectWinManager::DeleteChildrenAccObj(XAccessible* pXAcc) */ void AccObjectWinManager::DeleteAccObj( XAccessible* pXAcc ) { - vos::OGuard aGuard( aDeleteMutex ); + osl::MutexGuard aGuard( aDeleteMutex ); if( pXAcc == NULL ) return; XIdToAccObjHash::iterator temp = XIdAccList.find(pXAcc); @@ -806,7 +806,7 @@ sal_Bool AccObjectWinManager::InsertAccObj( XAccessible* pXAcc,XAccessible* pPar static_cast< XAccessibleEventListener* >(listener),UNO_QUERY ); if(pp.is()) { - broadcaster->addEventListener(pp); + broadcaster->addAccessibleEventListener(pp); } else { @@ -1330,4 +1330,4 @@ bool AccObjectWinManager::IsTopWinAcc( com::sun::star::accessibility::XAccessibl bRet = ( pAccObj->GetParentObj() == NULL ); } return bRet; -}
\ No newline at end of file +} |