summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/aqua/source/a11y/aqua11ytextwrapper.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/aqua/source/a11y/aqua11ytextwrapper.mm b/vcl/aqua/source/a11y/aqua11ytextwrapper.mm
index 4d4b75cfe45d..ab02eaf7ef3a 100644
--- a/vcl/aqua/source/a11y/aqua11ytextwrapper.mm
+++ b/vcl/aqua/source/a11y/aqua11ytextwrapper.mm
@@ -108,13 +108,13 @@ using namespace ::rtl;
+(id)sharedTextUIElementsAttributeForElement:(AquaA11yWrapper *)wrapper
{
(void)wrapper;
- return [ [ NSArray alloc ] init ]; // unsupported
+ return [NSArray arrayWithObject:wrapper];
}
+(id)sharedCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper
{
(void)wrapper;
- return [ NSValue valueWithRange: NSMakeRange ( 0, 0 ) ]; // unsupported
+ return [ NSValue valueWithRange: NSMakeRange ( 0, [wrapper accessibleText]->getCharacterCount() ) ];
}
+(void)addAttributeNamesTo:(NSMutableArray *)attributeNames {