diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-03-03 11:49:01 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-03-04 08:05:01 +0100 |
commit | a9c57e6ac6bc46ad78b66409a964f5b717878931 (patch) | |
tree | 241aec54aaa56186d4468df27b7b1dfdd726a1a6 /accessibility | |
parent | 1ccb6dc5bd2aa67f151d590b1aad20cecefaa28c (diff) |
tdf#147742 a11y: AccessibleGridControlTable needs SolarMutex
... in `AccessibleGridControlTable::getAccessibleIndexInParent`,
just like in the implementation of the other a11y UNO API methods.
Change-Id: I4ab7a2626db09398c79fe53d85c9802136decbf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130925
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/AccessibleGridControlTable.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index da634269b049..75a17f0bcb00 100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -69,6 +69,8 @@ AccessibleGridControlTable::getAccessibleChild( sal_Int32 nChildIndex ) sal_Int32 SAL_CALL AccessibleGridControlTable::getAccessibleIndexInParent() { + SolarMutexGuard aSolarGuard; + ensureIsAlive(); if(m_aTable.HasRowHeader() && m_aTable.HasColHeader()) return 0; |