diff options
author | Arnaud Versini <Arnaud.Versini@libreoffice.org> | 2017-11-19 19:23:10 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-27 13:02:09 +0100 |
commit | 2877aa089d9185ff25dbe8f9920611277750d5c8 (patch) | |
tree | 3de5aa971fc73b72fa637e7e1bbcd69b0cc92423 /accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx | |
parent | 944cc09cf76cea46d9f6bd7be14c64f74fe64403 (diff) |
accessibility : AccessibleBrowseBoxBase::isAlive is not thread safe
Change-Id: I243328a662bf37944e1fa718f63a0e509250db15
Reviewed-on: https://gerrit.libreoffice.org/44930
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx index 692d45e70750..160abb9f138b 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx @@ -61,6 +61,7 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleChildCount() sal_Int16 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRole() { + osl::MutexGuard aGuard( getMutex() ); ensureIsAlive(); return AccessibleRole::TABLE; } |