summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-07 13:16:24 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 10:13:18 +0200
commit35163715ead39eece619a5790903c88fa4216ec6 (patch)
tree68f657e8f4137d234d1b6b32835e3ff540b4b01a /linguistic
parente68c699b7e7efdf3678b450124b9e08ee227ddb9 (diff)
loplugin:staticmethods
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdic.hxx2
-rw-r--r--linguistic/source/dicimp.hxx8
-rw-r--r--linguistic/source/hyphdsp.hxx4
-rw-r--r--linguistic/source/spelldsp.hxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/linguistic/source/convdic.hxx b/linguistic/source/convdic.hxx
index 5b30e67b79ab..8eae426c50b5 100644
--- a/linguistic/source/convdic.hxx
+++ b/linguistic/source/convdic.hxx
@@ -102,7 +102,7 @@ protected:
ConvDic(const ConvDic &);
ConvDic & operator = (const ConvDic &);
- ConvMap::iterator GetEntry( ConvMap &rMap, const OUString &rFirstText, const OUString &rSecondText );
+ static ConvMap::iterator GetEntry( ConvMap &rMap, const OUString &rFirstText, const OUString &rSecondText );
void Load();
void Save();
diff --git a/linguistic/source/dicimp.hxx b/linguistic/source/dicimp.hxx
index fc6647c3091a..9a02ab32a5cb 100644
--- a/linguistic/source/dicimp.hxx
+++ b/linguistic/source/dicimp.hxx
@@ -68,14 +68,14 @@ class DictionaryNeo :
sal_uLong loadEntries(const OUString &rMainURL);
sal_uLong saveEntries(const OUString &rMainURL);
- int cmpDicEntry(const OUString &rWord1,
+ static int cmpDicEntry(const OUString &rWord1,
const OUString &rWord2,
bool bSimilarOnly = false);
- bool seekEntry(const OUString &rWord, sal_Int32 *pPos,
+ bool seekEntry(const OUString &rWord, sal_Int32 *pPos,
bool bSimilarOnly = false);
bool isSorted();
- bool addEntry_Impl(const ::com::sun::star::uno::Reference<
+ bool addEntry_Impl(const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XDictionaryEntry >& rDicEntry,
bool bIsLoadEntries = false);
@@ -191,7 +191,7 @@ class DicEntry :
DicEntry(const DicEntry &) SAL_DELETED_FUNCTION;
DicEntry & operator = (const DicEntry &) SAL_DELETED_FUNCTION;
- void splitDicFileWord(const OUString &rDicFileWord,
+ static void splitDicFileWord(const OUString &rDicFileWord,
OUString &rDicWord,
OUString &rReplacement);
diff --git a/linguistic/source/hyphdsp.hxx b/linguistic/source/hyphdsp.hxx
index dd5e245b2ab8..80981fcc688e 100644
--- a/linguistic/source/hyphdsp.hxx
+++ b/linguistic/source/hyphdsp.hxx
@@ -72,14 +72,14 @@ class HyphenatorDispatcher :
void ClearSvcList();
- com::sun::star::uno::Reference<
+ static com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenatedWord>
buildHyphWord( const OUString& rOrigWord,
const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XDictionaryEntry> &xEntry,
sal_Int16 nLang, sal_Int16 nMaxLeading );
- com::sun::star::uno::Reference<
+ static com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XPossibleHyphens >
buildPossHyphens( const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XDictionaryEntry > &xEntry,
diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx
index 5b975e35f793..c57382b2fd3f 100644
--- a/linguistic/source/spelldsp.hxx
+++ b/linguistic/source/spelldsp.hxx
@@ -122,7 +122,7 @@ public:
private:
void setCharClass(const LanguageTag& rLanguageTag);
- OUString SAL_CALL makeLowerCase(const OUString&, CharClass *);
+ static OUString SAL_CALL makeLowerCase(const OUString&, CharClass *);
};