lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx |    1 -
 lingucomponent/source/spellcheck/macosxspell/macspellimp.mm  |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit d30eb91f140ffcdf9326b218b03f5ff8607611a9
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Sat Nov 17 17:22:57 2018 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Sun Nov 18 12:51:03 2018 +0100

    lolugin:staticmethods
    
    Change-Id: I731ad0f55e68ffa7658955c9d8a557da2759fcac
    Reviewed-on: https://gerrit.libreoffice.org/63496
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to