summaryrefslogtreecommitdiff
path: root/winaccessibility/inc/AccObject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'winaccessibility/inc/AccObject.hxx')
-rw-r--r--winaccessibility/inc/AccObject.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx
index 3e259592e5be..53b1109b0d0e 100644
--- a/winaccessibility/inc/AccObject.hxx
+++ b/winaccessibility/inc/AccObject.hxx
@@ -50,7 +50,7 @@ private:
short m_accRole;
long m_resID;
HWND m_pParantID;
- IMAccessible* m_pIMAcc;
+ IMAccessible* const m_pIMAcc; // AccObjectManager::GetTopWindowIMAccessible relies on this being const
AccObject* m_pParentObj;
IAccChildList m_childrenList;
::rtl::Reference<AccEventListener> m_pListener;
@@ -87,7 +87,7 @@ public:
void SetParentHWND(HWND hWnd);//need to set top window handle when send event to AT
HWND GetParentHWND();
- void SetListener(::rtl::Reference<AccEventListener> const& pListener);
+ ::rtl::Reference<AccEventListener> SetListener(::rtl::Reference<AccEventListener> const& pListener);
AccEventListener* getListener();
void SetParentObj(AccObject* pParentAccObj);