diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-15 10:49:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-15 13:03:34 +0000 |
commit | a111044babf3ee929baf548b7ad29df0a419293b (patch) | |
tree | 8cf76a780fdf714a4dda0aac88bda6fa94a8d874 /include | |
parent | d1046e7c3f66e5f3384ee1ef534ef28346702fc6 (diff) |
loplugin:unusedmethods linguistic
Change-Id: I0a2aac4965c444dbd868515549dcc9b1571166cb
Reviewed-on: https://gerrit.libreoffice.org/17067
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linguistic/hyphdta.hxx | 11 | ||||
-rw-r--r-- | include/linguistic/lngprophelp.hxx | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/linguistic/hyphdta.hxx b/include/linguistic/hyphdta.hxx index 59094519617b..c080f47677ae 100644 --- a/include/linguistic/hyphdta.hxx +++ b/include/linguistic/hyphdta.hxx @@ -69,12 +69,6 @@ public: isAlternativeSpelling() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - OUString GetWord() { return aWord; } - OUString GetHyphenatedWord() { return aHyphenatedWord; } - sal_Int16 GetLanguage() { return nLanguage; } - void SetWord( OUString &rTxt ) { aWord = rTxt; } - void SetHyphenatedWord( OUString &rTxt ) { aHyphenatedWord = rTxt; } - void SetLanguage( sal_Int16 nLang ) { nLanguage = nLang; } static com::sun::star::uno::Reference <com::sun::star::linguistic2::XHyphenatedWord> LNG_DLLPUBLIC CreateHyphenatedWord( const OUString &rWord, sal_Int16 nLang, sal_Int16 nHyphenationPos, const OUString &rHyphenatedWord, sal_Int16 nHyphenPos ); @@ -115,11 +109,6 @@ public: getHyphenationPositions() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - OUString GetWord() { return aWord; } - sal_Int16 GetLanguage() { return nLanguage; } - void SetWord( OUString &rTxt ) { aWord = rTxt; } - void SetLanguage( sal_Int16 nLang ) { nLanguage = nLang; } - static com::sun::star::uno::Reference < com::sun::star::linguistic2::XPossibleHyphens > LNG_DLLPUBLIC CreatePossibleHyphens (const OUString &rWord, sal_Int16 nLang, const OUString &rHyphWord, diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx index 60556d9d11d5..ce618d448ac5 100644 --- a/include/linguistic/lngprophelp.hxx +++ b/include/linguistic/lngprophelp.hxx @@ -140,9 +140,6 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & GetEvtObj() const { return xMyEvtObj; } - - bool IsIgnoreControlCharacters() const { return bResIsIgnoreControlCharacters; } - bool IsUseDictionaryList() const { return bResIsUseDictionaryList; } }; @@ -229,7 +226,6 @@ public: static sal_Int16 GetDefaultNumberOfSuggestions() { return 16; } - sal_Int16 GetMaxNumberOfSuggestions() const { return nResMaxNumberOfSuggestions; } bool IsSpellUpperCase() const { return bResIsSpellUpperCase; } bool IsSpellWithDigits() const { return bResIsSpellWithDigits; } bool IsSpellCapitalization() const { return bResIsSpellCapitalization; } |