accessibility/inc/extended/AccessibleBrowseBox.hxx | 28 +++++++-------------- translations | 2 - 2 files changed, 11 insertions(+), 19 deletions(-)
New commits: commit 67d01815daee05e7991b12a0696888e7c8f6b3d9 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Oct 4 14:20:04 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Oct 4 17:07:27 2024 +0200 expand and drop getContext Change-Id: I8bfa5ba7d4767d2e2be1b32f8569d606e62debe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174484 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/accessibility/inc/extended/AccessibleBrowseBox.hxx b/accessibility/inc/extended/AccessibleBrowseBox.hxx index b7e912df6e92..a81ace673c88 100644 --- a/accessibility/inc/extended/AccessibleBrowseBox.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBox.hxx @@ -207,9 +207,6 @@ public: ::vcl::IAccessibleTableProvider& _rBrowseBox ); - /// returns the AccessibleContext belonging to this Accessible - AccessibleBrowseBox* getContext() { return m_xContext.get(); } - private: virtual ~AccessibleBrowseBoxAccess() override; @@ -227,40 +224,35 @@ private: getHeaderBar( AccessibleBrowseBoxObjType _eObjType ) override { css::uno::Reference< css::accessibility::XAccessible > xAccessible; - AccessibleBrowseBox* pContext( getContext() ); - if ( pContext ) - xAccessible = pContext->getHeaderBar( _eObjType ); + if (m_xContext) + xAccessible = m_xContext->getHeaderBar( _eObjType ); return xAccessible; } virtual css::uno::Reference< css::accessibility::XAccessible > getTable() override { css::uno::Reference< css::accessibility::XAccessible > xAccessible; - AccessibleBrowseBox* pContext( getContext() ); - if ( pContext ) - xAccessible = pContext->getTable(); + if (m_xContext) + xAccessible = m_xContext->getTable(); return xAccessible; } virtual void commitHeaderBarEvent( sal_Int16 nEventId, const css::uno::Any& rNewValue, const css::uno::Any& rOldValue, bool _bColumnHeaderBar ) override { - AccessibleBrowseBox* pContext( getContext() ); - if ( pContext ) - pContext->commitHeaderBarEvent( nEventId, rNewValue, rOldValue, _bColumnHeaderBar ); + if (m_xContext) + m_xContext->commitHeaderBarEvent( nEventId, rNewValue, rOldValue, _bColumnHeaderBar ); } virtual void commitTableEvent( sal_Int16 nEventId, const css::uno::Any& rNewValue, const css::uno::Any& rOldValue ) override { - AccessibleBrowseBox* pContext( getContext() ); - if ( pContext ) - pContext->commitTableEvent( nEventId, rNewValue, rOldValue ); + if (m_xContext) + m_xContext->commitTableEvent( nEventId, rNewValue, rOldValue ); } virtual void commitEvent( sal_Int16 nEventId, const css::uno::Any& rNewValue, const css::uno::Any& rOldValue ) override { - AccessibleBrowseBox* pContext( getContext() ); - if ( pContext ) - pContext->commitEvent( nEventId, rNewValue, rOldValue ); + if (m_xContext) + m_xContext->commitEvent( nEventId, rNewValue, rOldValue ); } private: commit e98b65e47182dba766bb7e3b2cd26e90da89fb93 Author: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> AuthorDate: Fri Oct 4 17:06:42 2024 +0200 Commit: Gerrit Code Review <ger...@gerrit.libreoffice.org> CommitDate: Fri Oct 4 17:06:42 2024 +0200 Update git submodules * Update translations from branch 'master' to d5e786eb569095ac348028ca7878e44bc4543dc1 - update translations for master and force-fix errors using pocheck Change-Id: Ic61d23eabfdbe3635267c095d71fc71cd0a455fe diff --git a/translations b/translations index 42ecd2971a60..d5e786eb5690 160000 --- a/translations +++ b/translations @@ -1 +1 @@ -Subproject commit 42ecd2971a60e08485dbafbace2f2ed7245cd48c +Subproject commit d5e786eb569095ac348028ca7878e44bc4543dc1