summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Dušek <me@dusek.me>2013-09-06 00:19:36 +0200
committerTor Lillqvist <tml@collabora.com>2013-09-06 08:32:49 +0000
commit3a4a931630792d226a9905d14988459ced36f74a (patch)
tree1624eb3004470c3cad5eb98e8ff8372e54b62a53
parent2358703d161e58c9ffa23306541e0040bb4f46f2 (diff)
Fix misspelled text with VoiceOver on 10.9
More in Apple's docs (Application Kit Release Notes for OS X v10.9, section "New Accessibility constants"). Change-Id: I92fb6d552e86997bfc789723f32626d908d11419 Reviewed-on: https://gerrit.libreoffice.org/5833 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
index 1c98581887bb..751faedbd949 100644
--- a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
+++ b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
@@ -246,6 +246,7 @@ using namespace ::rtl;
switch(type) {
case ::com::sun::star::text::TextMarkupType::SPELLCHECK: {
[string addAttribute:NSAccessibilityMisspelledTextAttribute value:[NSNumber numberWithBool:YES] range:markupRange];
+ [string addAttribute:@"AXMarkedMisspelled" value:[NSNumber numberWithBool:YES] range:markupRange];
break;
}
}