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:24 +0000
commit1bc2ecf3b8fb9c7064a21548777f1e5b92d58c8d (patch)
treeac910997c9c1afd84fc2fe881e30f1ceafc96c1c
parent7753fbef1e7805f60f7d90fa2ac5a8537d7e4bb7 (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/5831 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 093f898f9008..090df5eaf3f2 100644
--- a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
+++ b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
@@ -294,6 +294,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;
}
}