diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-21 09:16:45 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-21 18:49:13 +0200 |
commit | 2eb96649c9430256e37fc64fd731831d556894ea (patch) | |
tree | 815ea04ea7403873bc42c7ceeb92966bf13b60f0 /winaccessibility | |
parent | ad1e6a99fc3b258b5c8d0ed99a82cdccd8eaae4e (diff) |
wina11y: Drop extra check in AccObjectWinManager::InsertAccObj
The `AccObject` ctor asserts that `AccObject::m_pIMAcc`
is non-null, so there's no need to check here again.
Change-Id: Ieb80dfa4f7229b63dbf53ed77ae54f8d4b1f5211
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172180
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/service/AccObjectWinManager.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx index 8d62ace211cd..f3a8ba9d2068 100644 --- a/winaccessibility/source/service/AccObjectWinManager.cxx +++ b/winaccessibility/source/service/AccObjectWinManager.cxx @@ -628,8 +628,6 @@ bool AccObjectWinManager::InsertAccObj( XAccessible* pXAcc,XAccessible* pParentX } AccObject pObj(pXAcc, this); - if( pObj.GetIMAccessible() == nullptr ) - return false; pObj.SetResID( this->ImpleGenerateResID()); pObj.SetParentHWND( pWnd ); |