diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-01-27 23:46:25 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-01-27 23:47:24 +0100 |
commit | c1503da35d8879366da13258837cf0084a536809 (patch) | |
tree | 6c9798caccddbbd8c69138a3409737662de9fc91 /winaccessibility | |
parent | 35782f89b61c04d9aa97183ea736f4288490800c (diff) |
Typo decendant => descendant in winaccessibility/MAccessible
Change-Id: I2e49ab149b2bbdad623f8694221b6169cdfd2d9a
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.cxx | 18 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.h | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx index 6df385f06cd3..488fc652b1e3 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.cxx +++ b/winaccessibility/source/UAccCOM/MAccessible.cxx @@ -137,7 +137,7 @@ BSTR IA2_STATES_NAME[] = _T("Horizontal"), _T("Iconified"), _T("Invalid Entry"), - _T("Manages Decendents"), + _T("Manages Descendants"), _T("Modal"), _T("Multi Line"), _T("Opaque"), @@ -1468,18 +1468,18 @@ IMAccessible* CMAccessible::GetChildInterface(long dChildID)//for test } /** -* For List, tree and table,these roles belong to manage_decendant in UNO, +* For List, tree and table,these roles belong to manage_descendant in UNO, * need to process specifically when navigate -* @return BOOL, if it is decendantmanager, return true. +* @return BOOL, if it is descendantmanager, return true. */ -BOOL CMAccessible::IsDecendantManage() +BOOL CMAccessible::IsDescendantManage() { return (m_iRole==ROLE_SYSTEM_LIST)||(m_iRole==ROLE_SYSTEM_OUTLINE)||(m_iRole==ROLE_SYSTEM_TABLE); } /** -* for decendantmanager circumstance,provide child interface when navigate +* for descendantmanager circumstance,provide child interface when navigate * @param varCur, the current child. * @param flags, the navigation direction. * @return IMAccessible*, the child of the end up node. @@ -1558,7 +1558,7 @@ IMAccessible* CMAccessible::GetNavigateChildForDM(VARIANT varCur, short flags) /** * Return first child for parent container, process differently according -* to whether it is decendant manage +* to whether it is descendant manage * @param varStart, the start child id of this navigation action. * @param pvarEndUpAt, [in,out] the end up child of this navigation action. * @return S_OK if successful and E_FAIL if failure. @@ -1595,7 +1595,7 @@ HRESULT CMAccessible::GetFirstChild(VARIANT varStart,VARIANT* pvarEndUpAt) /** * Return last child for parent container, process differently according -* to whether it is decendant manage +* to whether it is descendant manage * @param varStart, the start child id of this navigation action. * @param pvarEndUpAt, [in,out] the end up child of this navigation action. * @return S_OK if successful and E_FAIL if failure. @@ -1630,7 +1630,7 @@ HRESULT CMAccessible::GetLastChild(VARIANT varStart,VARIANT* pvarEndUpAt) } /** -* The method GetNextSibling is general, whatever it is decendant manage or not +* The method GetNextSibling is general, whatever it is descendant manage or not * Get the next sibling object. * @param varStart, the start child id of this navigation action. * @param pvarEndUpAt, [in,out] the end up child of this navigation action. @@ -1666,7 +1666,7 @@ HRESULT CMAccessible::GetNextSibling(VARIANT varStart,VARIANT* pvarEndUpAt) } /** -*the method GetPreSibling is general, whatever it is decendant manage or not +*the method GetPreSibling is general, whatever it is descendant manage or not * @param varStart, the start child id of this navigation action. * @param pvarEndUpAt, [in,out] the end up child of this navigation action. * @return S_OK if successful and E_FAIL if failure. diff --git a/winaccessibility/source/UAccCOM/MAccessible.h b/winaccessibility/source/UAccCOM/MAccessible.h index a6ddba34b769..e0620db2d02a 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.h +++ b/winaccessibility/source/UAccCOM/MAccessible.h @@ -197,12 +197,12 @@ private: // the helper methods in order to implement the above public methods IMAccessible* GetChildInterface(long dChildIndex);//notice here the parameter is child index,not child id - IMAccessible* GetNavigateChildForDM(VARIANT varCur,short flags);//for decendant manage + IMAccessible* GetNavigateChildForDM(VARIANT varCur,short flags);//for descendant manage HRESULT GetFirstChild(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation HRESULT GetLastChild(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation HRESULT GetNextSibling(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation HRESULT GetPreSibling(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation - BOOL IsDecendantManage();//identify whether the current COM belongs to manage_decendant roles + BOOL IsDescendantManage();//identify whether the current COM belongs to manage_descendant roles // the following private methods are used to implement accSelect method HRESULT SelectChild(css::accessibility::XAccessible* pItem); @@ -222,7 +222,7 @@ private: public: STDMETHOD(Get_XAccChildID)(/*[out,retval]*/ long* childID); // AccObjectManagerAgent is a management object in UNO, here keep its pointer for - // the implementation of accNavigate when decendant manage happens for List,Tree, or Table + // the implementation of accNavigate when descendant manage happens for List,Tree, or Table // AccObjectManagerAgent and the following UNO objects XAccessble,XAccessibleSelection, // XAccessibleAction are all used to operate UNO accessiblility information directly when // implement some specific MSAA methods,such as accSelection,accNavigate |