diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-21 12:55:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-21 20:38:28 +0100 |
commit | a8f6a8722457ec8b6c02f41b628b5cee75b330f1 (patch) | |
tree | f8c98f6d3a9f5101de49b8f602998a9fecb2a7a0 /accessibility/source/extended | |
parent | 5143de38cffb353a99adf354fab47bbbc66b9df7 (diff) |
constant 'Focused object has invalid index in parent' a11y warning
clicking in a cell in the databrowser always produces a11y warnings,
the EditBrowseBoxTableCell parent was set to AccessibleBrowseBoxAccess
but AccessibleBrowseBoxAccess cannot find it as a child. It appears
to be constructed with an EditBrowseBoxTableCellAccess as parent,
changing this to reflect that ownership results in no more warnings
Change-Id: Icdbf7157511ab606bf564f2f48df3a02bd7ede88
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109759
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'accessibility/source/extended')
-rw-r--r-- | accessibility/source/extended/accessibleeditbrowseboxcell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx index 7aefcc98bfad..06165071b621 100644 --- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx +++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx @@ -207,7 +207,7 @@ namespace accessibility css::uno::Reference< css::accessibility::XAccessibleContext > xInnerContext = m_xControlAccessible->getAccessibleContext(); css::uno::Reference< css::accessibility::XAccessible > xMe( this ); - xMyContext = new EditBrowseBoxTableCell( m_xParent, xMe, xInnerContext, *m_pBrowseBox, m_xFocusWindow, m_nRowPos, m_nColPos ); + xMyContext = new EditBrowseBoxTableCell( xMe, m_xParent, xInnerContext, *m_pBrowseBox, m_xFocusWindow, m_nRowPos, m_nColPos ); m_aContext = xMyContext; } return xMyContext; |