summaryrefslogtreecommitdiffstats
path: root/vcl/osx/a11ywrappergroup.mm
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/a11ywrappergroup.mm')
-rw-r--r--vcl/osx/a11ywrappergroup.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/osx/a11ywrappergroup.mm b/vcl/osx/a11ywrappergroup.mm
index 39cbd9adfcbc..7ed70d47baba 100644
--- a/vcl/osx/a11ywrappergroup.mm
+++ b/vcl/osx/a11ywrappergroup.mm
@@ -18,6 +18,7 @@
*/
+#include <vcl/svapp.hxx>
#include <osx/salinst.h>
#include "a11ywrappergroup.h"
@@ -30,6 +31,9 @@
}
-(NSArray *)accessibilityAttributeNames {
+ // Related: tdf#148453 Acquire solar mutex during native accessibility calls
+ SolarMutexGuard aGuard;
+
// Default Attributes
NSMutableArray * attributeNames = [ NSMutableArray arrayWithArray: [ super accessibilityAttributeNames ] ];
// Special Attributes and removing unwanted attributes depending on role