diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-20 16:29:05 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-21 07:48:10 +0200 |
commit | c179bf9ae8d0d27d78b72c026256a56b5458d973 (patch) | |
tree | 3efdec7c09b42c5dd894a4858a74d76f7b1e78ac /winaccessibility | |
parent | a10a99b0c6693b448d388793e451a49ed8c8b795 (diff) |
wina11y: Drop superfluous check in CAccTable::get_accessibleAt
There's already a
if(!pRAcc.is())
{
*accessible = nullptr;
return E_FAIL;
}
further up in that method, so no need to check again.
Change-Id: Ifb855dce067b3bff5a654917e79817da72e156be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172153
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/UAccCOM/AccTable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/UAccCOM/AccTable.cxx b/winaccessibility/source/UAccCOM/AccTable.cxx index 409db86273de..bf0cc9563515 100644 --- a/winaccessibility/source/UAccCOM/AccTable.cxx +++ b/winaccessibility/source/UAccCOM/AccTable.cxx @@ -70,7 +70,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_accessibleAt(long row, long col pRet->AddRef(); return S_OK; } - else if(pRAcc.is()) + else { Reference<XAccessible> pxTable(pRXTable, UNO_QUERY); |