diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-06-03 11:35:24 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-06-03 21:29:09 +0300 |
commit | 96840ff0ce697c5c05b59d53409b3cf27ac35e5f (patch) | |
tree | 30b0506acd1c0312d68ba7abb182cd64997e1d3d /lingucomponent | |
parent | 2116b92f0266685430d31470c9914ce05b44f130 (diff) |
WaE: 'guessesForWord:' is deprecated: first deprecated in OS X 10.6
Change-Id: I861d4012c12096958c73c7008b0a9dfa6934fda2
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index 567062db117c..9294525e9af4 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -350,7 +350,7 @@ Reference< XSpellAlternatives > aLang = [aLang stringByAppendingString:aTaggedCountry]; } [macSpell setLanguage:aLang]; - NSArray *guesses = [macSpell guessesForWord:aNSStr]; + NSArray *guesses = [macSpell guessesForWordRange:NSMakeRange(0, [aNSStr length]) inString:aNSStr language:aLang inSpellDocumentWithTag:0]; count = [guesses count]; if (count) { |