summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-01-27 23:46:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-01-30 11:28:18 +0000
commite28dc284596619e2a5000582e4ebd1aa615ddcf8 (patch)
tree452ce9e43fae42e6ecb9e92849e50017fc7ac7a5
parentf72af83f3a68e0683f8d48dd02c90306b8b2d6f8 (diff)
Typo decendant => descendant in winaccessibility/MAccessible
Change-Id: I2e49ab149b2bbdad623f8694221b6169cdfd2d9a Reviewed-on: https://gerrit.libreoffice.org/7706 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.cxx18
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.h6
2 files changed, 12 insertions, 12 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index 6ed3c4ebab09..50b5a358dc7f 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"),
@@ -1467,18 +1467,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.
@@ -1557,7 +1557,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.
@@ -1594,7 +1594,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.
@@ -1629,7 +1629,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.
@@ -1665,7 +1665,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 6c073b5972df..497f5ca4d9ea 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