diff options
-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, |