vcl/source/treelist/svtabbx.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit a92113830e8980aa2f4973b25d42712aad6fb049 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Tue Jan 28 13:38:06 2025 +0100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Wed Jan 29 08:26:47 2025 +0100 a11y: Drop unnecessary null check Change-Id: I94d5651a6bcb3cb478e1d1f4020a60b70c093a42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180847 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx index 853a531d7f4a..4fc5a1b5d838 100644 --- a/vcl/source/treelist/svtabbx.cxx +++ b/vcl/source/treelist/svtabbx.cxx @@ -1166,8 +1166,7 @@ Reference< XAccessible > SvHeaderTabListBox::CreateAccessible() if ( xAccParent.is() ) { m_pAccessible = new accessibility::AccessibleTabListBox(xAccParent, *this); - if ( m_pAccessible ) - xAccessible = m_pAccessible->getMyself(); + xAccessible = m_pAccessible->getMyself(); } } return xAccessible;