diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-11-17 17:22:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-11-18 12:51:03 +0100 |
commit | d30eb91f140ffcdf9326b218b03f5ff8607611a9 (patch) | |
tree | ae8195c2e476bd57c9e1d73df6c6f565bf42723b /lingucomponent | |
parent | a208ece66416048cdc99235a569bd8c928a07394 (diff) |
lolugin:staticmethods
Change-Id: I731ad0f55e68ffa7658955c9d8a557da2759fcac
Reviewed-on: https://gerrit.libreoffice.org/63496
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx | 1 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx index e0c075ecbc72..64fb8ac37f49 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx @@ -80,7 +80,6 @@ class MacSpellChecker : } sal_Int16 GetSpellFailure( const OUString &rWord, const Locale &rLocale ); - Reference< XSpellAlternatives > GetProposals( const OUString &rWord, const Locale &rLocale ); public: MacSpellChecker(); diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index 9b4c715b7ba0..1c7434b45054 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -393,9 +393,10 @@ sal_Bool SAL_CALL return (nFailure == -1); } +namespace { Reference< XSpellAlternatives > - MacSpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) + GetProposals( const OUString &rWord, const Locale &rLocale ) { // Retrieves the return values for the 'spell' function call in case // of a misspelled word. @@ -458,8 +459,7 @@ Reference< XSpellAlternatives > } - - +} Reference< XSpellAlternatives > SAL_CALL MacSpellChecker::spell( const OUString& rWord, const Locale& rLocale, |