summaryrefslogtreecommitdiff
path: root/winaccessibility/source/service
diff options
context:
space:
mode:
Diffstat (limited to 'winaccessibility/source/service')
-rw-r--r--winaccessibility/source/service/AccContainerEventListener.cxx2
-rw-r--r--winaccessibility/source/service/AccEventListener.cxx1
-rw-r--r--winaccessibility/source/service/AccObject.cxx30
-rw-r--r--winaccessibility/source/service/AccObjectContainerEventListener.cxx1
-rw-r--r--winaccessibility/source/service/AccObjectManagerAgent.cxx18
-rw-r--r--winaccessibility/source/service/AccObjectWinManager.cxx20
6 files changed, 0 insertions, 72 deletions
diff --git a/winaccessibility/source/service/AccContainerEventListener.cxx b/winaccessibility/source/service/AccContainerEventListener.cxx
index 9587255acd28..ae4cccba9e0e 100644
--- a/winaccessibility/source/service/AccContainerEventListener.cxx
+++ b/winaccessibility/source/service/AccContainerEventListener.cxx
@@ -362,10 +362,8 @@ void AccContainerEventListener::FireStateFocusedChange(bool enable)
|| parentRole == AccessibleRole::PANEL) // sidebar
pAgent->NotifyAccEvent(UM_EVENT_STATE_FOCUSED, m_xAccessible.get());
}
- //to update ComboBox's description
else if (role == AccessibleRole::COMBO_BOX )
{
- pAgent->UpdateDescription(m_xAccessible.get());
//for editable combobox, send focus event on only edit control,
bool bSendFocusOnCombobox = true;
//send focused event to the first text child
diff --git a/winaccessibility/source/service/AccEventListener.cxx b/winaccessibility/source/service/AccEventListener.cxx
index 3168476c5935..1d378040ce3f 100644
--- a/winaccessibility/source/service/AccEventListener.cxx
+++ b/winaccessibility/source/service/AccEventListener.cxx
@@ -99,7 +99,6 @@ void AccEventListener::HandleNameChangedEvent(Any name)
*/
void AccEventListener::HandleDescriptionChangedEvent(Any desc)
{
- pAgent->UpdateDescription(m_xAccessible.get(), desc);
pAgent->NotifyAccEvent(UM_EVENT_OBJECT_DESCRIPTIONCHANGE, m_xAccessible.get());
}
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index e9ca101207fe..781c58c82e71 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -285,22 +285,6 @@ void AccObject::UpdateName( )
return ;
}
-/**
- * Update description property to com object.
- * no content for update description
- * @param
- * @return
- */
-void AccObject::UpdateDescription()
-{
- if (!m_pIMAcc)
- {
- return;
- }
-
- m_pIMAcc->Put_XAccDescription(o3tl::toW(m_xAccContextRef->getAccessibleDescription().getStr()));
- return ;
-}
/**
* Update default action property to com object.
@@ -502,18 +486,6 @@ void AccObject::SetName( Any pAny)
}
/**
- * Set description property via pAny.
- * @param pAny New accessible description.
- * @return
- */
-void AccObject::SetDescription( Any pAny )
-{
- if( nullptr == m_pIMAcc )
- return ;
- m_pIMAcc->Put_XAccDescription( o3tl::toW(GetMAccessibleValueFromAny(pAny).getStr()) );
-}
-
-/**
* Set role property via pAny
* @param Role New accessible role.
* @return
@@ -1023,8 +995,6 @@ bool AccObject:: UpdateAccessibleInfoFromUnoToMSAA ( )
UpdateValue();
- UpdateDescription();
-
UpdateActionDesc();
UpdateRole();
diff --git a/winaccessibility/source/service/AccObjectContainerEventListener.cxx b/winaccessibility/source/service/AccObjectContainerEventListener.cxx
index dc99d3394c4a..429e99734e78 100644
--- a/winaccessibility/source/service/AccObjectContainerEventListener.cxx
+++ b/winaccessibility/source/service/AccObjectContainerEventListener.cxx
@@ -52,7 +52,6 @@ void AccObjectContainerEventListener::HandleStateChangedEvent(Any oldValue, Any
if (newV == AccessibleStateType::FOCUSED)
{
pAgent->UpdateAccName(m_xAccessible.get());
- pAgent->UpdateDescription(m_xAccessible.get());
}
}
AccContainerEventListener::HandleStateChangedEvent(oldValue, newValue);
diff --git a/winaccessibility/source/service/AccObjectManagerAgent.cxx b/winaccessibility/source/service/AccObjectManagerAgent.cxx
index 62d58f384f17..f28dd766b9e7 100644
--- a/winaccessibility/source/service/AccObjectManagerAgent.cxx
+++ b/winaccessibility/source/service/AccObjectManagerAgent.cxx
@@ -123,18 +123,6 @@ void AccObjectManagerAgent::UpdateLocation( XAccessible* /* pXAcc */, long /*to
}
/**
- * Interface of updating MSAA name when UNO description_changed event occurs.
- * @param pXAcc Uno XAccessible interface of control.
- * @param newDesc New UNO accessible description.
- * @return
- */
-void AccObjectManagerAgent::UpdateDescription( XAccessible* pXAcc, Any newDesc )
-{
- if( pWinManager )
- pWinManager->SetDescription( pXAcc, newDesc );
-}
-
-/**
* When a new UNO XAccessible object is found by listener, we create a corresponding
* com object and insert it to our manager list.
* @param pXAcc Uno XAccessible interface of control.
@@ -333,12 +321,6 @@ short AccObjectManagerAgent::GetParentRole( XAccessible* pXAcc )
return -1;
}
-void AccObjectManagerAgent::UpdateDescription( XAccessible* pXAcc )
-{
- if(pWinManager)
- pWinManager->UpdateDescription( pXAcc );
-}
-
void AccObjectManagerAgent::UpdateChildState(XAccessible* pXAcc)
{
if(pWinManager)
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index f180127acf65..69d8af6ee65a 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -924,13 +924,6 @@ void AccObjectWinManager::UpdateAction( XAccessible* pXAcc )
pAccObj->UpdateAction();
}
-void AccObjectWinManager::UpdateDescription( XAccessible* pXAcc )
-{
- AccObject* pAccObj = GetAccObjByXAcc( pXAcc );
- if ( pAccObj )
- pAccObj->UpdateDescription();
-}
-
/**
* Set corresponding com object's accessible location via XAccessible interface and new
* location.
@@ -985,19 +978,6 @@ void AccObjectWinManager::SetAccName( XAccessible* pXAcc, Any newName)
}
/**
- * Set corresponding com object's description via XAccessible interface and new description.
- * @param pXAcc XAccessible interface.
- * @param newDesc new description
- * @return
- */
-void AccObjectWinManager::SetDescription( XAccessible* pXAcc, Any newDesc )
-{
- AccObject* pAccObj = GetAccObjByXAcc( pXAcc );
- if( pAccObj )
- pAccObj->SetDescription( newDesc );
-}
-
-/**
* Set corresponding com object's role via XAccessible interface and new role.
* @param pXAcc XAccessible interface.
* @param Role new role