diff options
-rw-r--r-- | winaccessibility/inc/AccObject.hxx | 2 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx index 3ae0ca90fc22..3f1c9ab2a241 100644 --- a/winaccessibility/inc/AccObject.hxx +++ b/winaccessibility/inc/AccObject.hxx @@ -60,7 +60,7 @@ private: ::com::sun::star::uno::Reference < ::com::sun::star::accessibility::XAccessibleAction > m_xAccActionRef; ::com::sun::star::uno::Reference < ::com::sun::star::accessibility::XAccessibleContext > m_xAccContextRef; - sal_Bool ImplInitializeCreateObj();//create COM object + void ImplInitializeCreateObj();//create COM object void UpdateActionDesc(); void UpdateRole(); diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index eb5bcb05ce87..4174e4925755 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -157,7 +157,7 @@ AccObject::AccObject(XAccessible* pAcc, AccObjectManagerAgent* pAgent, m_bShouldDestroy(sal_False), m_xAccRef( pAcc ) { - sal_Bool bRet = ImplInitializeCreateObj(); + ImplInitializeCreateObj(); m_xAccContextRef = m_xAccRef->getAccessibleContext(); m_xAccActionRef = Reference< XAccessibleAction > (m_xAccContextRef,UNO_QUERY); @@ -245,13 +245,11 @@ void AccObject::UpdateValidWindow() * @param * @return If the method is correctly processed. */ -sal_Bool AccObject::ImplInitializeCreateObj() +void AccObject::ImplInitializeCreateObj() { m_pIMAcc = UAccCOMCreateInstance(); assert(m_pIMAcc); - - return m_pIMAcc != 0; } /** |