diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-21 08:44:04 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-21 18:48:41 +0200 |
commit | 114e827c883896167672597d9b4ad5569c80fe4b (patch) | |
tree | 70848a8c146063282cdcbe5c0a4b04e7c88d4918 /winaccessibility/source | |
parent | e13ec6c0f447e9699b3b46e0d896c3ec2920979c (diff) |
wina11y: Drop AccObject::ImplInitializeCreateObj
As the method name and comment suggests, this method
was doing more in the past, but that's no more the case.
The only thing it does is doing an assert, but
there's no need to have a separate method for this,
so just do that right away in the (so far) only caller.
Change-Id: Ief41c8d4ec350622eb043340a4b0bd1079d337a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172177
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'winaccessibility/source')
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index b102c3b355b0..99b05f2e2df2 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -265,7 +265,7 @@ AccObject::AccObject(XAccessible* pAcc, AccObjectWinManager* pManager, m_pListener (pListener), m_xAccRef( pAcc ) { - ImplInitializeCreateObj(); + assert(m_pIMAcc); m_xAccContextRef = m_xAccRef->getAccessibleContext(); m_xAccActionRef.set(m_xAccContextRef,UNO_QUERY); @@ -347,16 +347,6 @@ void AccObject::UpdateValidWindow() } /** - * Translate all UNO basic information into MSAA com information. - * @param - * @return If the method is correctly processed. - */ -void AccObject::ImplInitializeCreateObj() -{ - assert(m_pIMAcc); -} - -/** * Update default action property to com object. * @param * @return |