summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@libreoffice.org>2018-10-14 14:21:35 +0200
committerArnaud Versini <arnaud.versini@libreoffice.org>2018-10-18 12:41:47 +0200
commit2e57dac3b44a17d4c45f242059d43225e79174e3 (patch)
tree68add8eff56d04153a88233307e934fed917a547
parent1ed42082589f529278cd35a01f23cc25846f7983 (diff)
Attempt to fix tdf#118193
Change-Id: I41e3548c98e0fbe86a9a736c66b4cf6d746d84c7 Reviewed-on: https://gerrit.libreoffice.org/61757 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
index 7891b7a21334..9deadb49f409 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
@@ -133,6 +133,7 @@ namespace accessibility
sal_Int32 SAL_CALL AccessibleCheckBoxCell::getAccessibleIndexInParent()
{
::osl::MutexGuard aGuard( getMutex() );
+ ensureIsAlive();
return ( getRowPos() * mpBrowseBox->GetColumnCount() ) + getColumnPos();
}