lolugin:staticmethods

Change-Id: I731ad0f55e68ffa7658955c9d8a557da2759fcac
Reviewed-on: https://gerrit.libreoffice.org/63496
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2018-11-17 17:22:57 +01:00
parent a208ece664
commit d30eb91f14
2 changed files with 3 additions and 4 deletions

View File

@@ -80,7 +80,6 @@ class MacSpellChecker :
} }
sal_Int16 GetSpellFailure( const OUString &rWord, const Locale &rLocale ); sal_Int16 GetSpellFailure( const OUString &rWord, const Locale &rLocale );
Reference< XSpellAlternatives > GetProposals( const OUString &rWord, const Locale &rLocale );
public: public:
MacSpellChecker(); MacSpellChecker();

View File

@@ -393,9 +393,10 @@ sal_Bool SAL_CALL
return (nFailure == -1); return (nFailure == -1);
} }
namespace {
Reference< XSpellAlternatives > 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 // Retrieves the return values for the 'spell' function call in case
// of a misspelled word. // of a misspelled word.
@@ -458,8 +459,7 @@ Reference< XSpellAlternatives >
} }
}
Reference< XSpellAlternatives > SAL_CALL Reference< XSpellAlternatives > SAL_CALL
MacSpellChecker::spell( const OUString& rWord, const Locale& rLocale, MacSpellChecker::spell( const OUString& rWord, const Locale& rLocale,