diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-16 10:13:46 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-16 11:22:12 +0300 |
commit | b02e958fa0bf7d062a5b8aff03d22325e3068feb (patch) | |
tree | e76ec94b574b2f371cbcfe88611dda27d8c80467 /lingucomponent | |
parent | f9aa686432c0ba62c6f440302d5a35856496a786 (diff) |
MAC_OS_X_VERSION_MAX_ALLOWED is always >= 1080 now
Change-Id: Ieae67cbf917cdf4bca2b0d6c1697eddc6137dbe2
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index 868026c8c6c6..aa06d130b05f 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -350,11 +350,7 @@ Reference< XSpellAlternatives > aLang = [aLang stringByAppendingString:aTaggedCountry]; } [macSpell setLanguage:aLang]; -#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060 - NSArray *guesses = [macSpell guessesForWord:aNSStr]; -#else NSArray *guesses = [macSpell guessesForWordRange:NSMakeRange(0, [aNSStr length]) inString:aNSStr language:aLang inSpellDocumentWithTag:0]; -#endif count = [guesses count]; if (count) { |