winaccessibility/source/UAccCOM/AccTableCell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2b30d37bd555188733a006e1a5796461ab11d326 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Thu Aug 3 15:48:48 2023 +0100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Thu Aug 3 17:54:04 2023 +0200 tdf#156473 wina11y: Fix invalid write due to row/col mismatch With the grid control now reporting row/column headers due to the previous tdf#156473-related commits, this copy-paste mistake in commit 8a4271e168f70f9147b567189c1770a243e7fcb1 Author: Michael Weghorn <m.wegh...@posteo.de> Date: Fri Aug 5 09:49:02 2022 +0100 wina11y: Implement IAccessibleTableCell::get{column,row}HeaderCells was now causing hard to debug crashes when moving around in the table from the tdf#156473 sample macro with the NVDA screen reader running on Windows. Change-Id: I9fa30c1181d0fd21a85a73fd660c49667850d82b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155311 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/winaccessibility/source/UAccCOM/AccTableCell.cxx b/winaccessibility/source/UAccCOM/AccTableCell.cxx index 1b126404456a..0a04683ac109 100644 --- a/winaccessibility/source/UAccCOM/AccTableCell.cxx +++ b/winaccessibility/source/UAccCOM/AccTableCell.cxx @@ -215,7 +215,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTableCell::get_rowHeaderCells(IUnknown*** assert(bOK && "Couldn't retrieve IAccessible object for cell."); pIAccessible->AddRef(); - (*cellAccessibles)[nRow] = pIAccessible; + (*cellAccessibles)[nCol] = pIAccessible; } return S_OK; }