sw/source/core/access/acctable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0a8efec1cd6ad5c8a3c09d4266067944f5d9d7be Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Tue Aug 30 18:58:48 2022 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Tue Aug 30 23:52:15 2022 +0200 sw a11y: Don't confuse row and column The previous use of `isAccessibleColumnSelected` instead of `isAccessibleRowSelected` e.g. caused the row not to be selected when selecting the a11y object for a Writer table in Accerciser's treeview of the a11y hierarchy and typing this in Accerciser's IPython console with the qt6 VCL plugin in use: In [25]: acc.queryTable().addColumnSelection(0) Out[25]: True In [26]: acc.queryTable().addRowSelection(0) Out[26]: True Change-Id: I0c239c0d36a073cd63a35ca7d0802cf5591d9738 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139064 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 75257baa5ca1..538eab08d440 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -1561,7 +1561,7 @@ sal_Bool SAL_CALL SwAccessibleTable::selectRow( sal_Int32 row ) { SolarMutexGuard g; - if( isAccessibleColumnSelected( row ) ) + if( isAccessibleRowSelected( row ) ) return true; tools::Long lColumnCount = getAccessibleColumnCount();