summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-03-27 10:50:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-03-27 14:03:33 +0100
commitd9a84bebb51417fb9f550744b31cf030ccd982e6 (patch)
treeaec5c837f6c17fb4748e0d4a32b78b8db8a63657 /lingucomponent
parent9852f09b467e3c7f8058b931010b91f447905051 (diff)
loplugin:staticmethods
Change-Id: Ieec779cb0250374004ab7cd5e9ed2b3476ddaed7 Reviewed-on: https://gerrit.libreoffice.org/69806 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index d66e7149ea70..f97c0945afe9 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -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