summaryrefslogtreecommitdiffstats
path: root/vcl/osx/a11ywrapperscrollarea.mm
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/a11ywrapperscrollarea.mm')
-rw-r--r--vcl/osx/a11ywrapperscrollarea.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/osx/a11ywrapperscrollarea.mm b/vcl/osx/a11ywrapperscrollarea.mm
index 22037220d4..4fa30a9f04 100644
--- a/vcl/osx/a11ywrapperscrollarea.mm
+++ b/vcl/osx/a11ywrapperscrollarea.mm
@@ -62,6 +62,8 @@
-(NSArray *)accessibilityAttributeNames {
// Related: tdf#148453 Acquire solar mutex during native accessibility calls
SolarMutexGuard aGuard;
+ if ( mIsDisposed )
+ return [ NSArray array ];
// Default Attributes
NSMutableArray * attributeNames = [ NSMutableArray arrayWithArray: [ super accessibilityAttributeNames ] ];