loplugin:staticmethods
Change-Id: Ieec779cb0250374004ab7cd5e9ed2b3476ddaed7 Reviewed-on: https://gerrit.libreoffice.org/69806 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -445,6 +445,7 @@ Reference< XSpellAlternatives >
|
||||
#ifdef MACOSX
|
||||
[[NSSpellChecker sharedSpellChecker] setLanguage:aLang];
|
||||
NSArray *guesses = [[NSSpellChecker sharedSpellChecker] guessesForWordRange:NSMakeRange(0, [aNSStr length]) inString:aNSStr language:aLang inSpellDocumentWithTag:0];
|
||||
(void) this; // avoid loplugin:staticmethods, the !MACOSX case uses 'this'
|
||||
#else
|
||||
NSArray *guesses = [pChecker guessesForWordRange:NSMakeRange(0, [aNSStr length]) inString:aNSStr language:aLang];
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user