summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 12:55:32 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 13:32:16 +0200
commit281296330735158d6265e0b146b5d5301f6e610e (patch)
treeee8235f54b59dbec8d13f12b0bafa62e61ab9ad1 /winaccessibility
parent75da22e3ce80f8dcdeef0488b22c4dc522c2ec29 (diff)
use uno::Reference::set method instead of assignment
Change-Id: I31a69a997098eb1807361b8049c3312a4f287d75
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/AccObject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index 17d35bdd5294..050b83b8c2c4 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -160,7 +160,7 @@ AccObject::AccObject(XAccessible* pAcc, AccObjectManagerAgent* pAgent,
ImplInitializeCreateObj();
m_xAccContextRef = m_xAccRef->getAccessibleContext();
- m_xAccActionRef = Reference< XAccessibleAction > (m_xAccContextRef,UNO_QUERY);
+ m_xAccActionRef.set(m_xAccContextRef,UNO_QUERY);
m_accRole = m_xAccContextRef -> getAccessibleRole();
if( m_pIMAcc )
{
@@ -302,7 +302,7 @@ void AccObject::UpdateDescription()
*/
void AccObject::UpdateAction()
{
- m_xAccActionRef = Reference< XAccessibleAction > (m_xAccContextRef,UNO_QUERY);
+ m_xAccActionRef.set(m_xAccContextRef,UNO_QUERY);
if( m_xAccActionRef.is() && m_pIMAcc )
{