diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 08:59:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 11:25:55 +0100 |
commit | dd0dceb51122b4e8e969f848d9f046e91962d254 (patch) | |
tree | f927f0870a54ad7cb887e6e7d5bb7956d44d0665 /i18npool | |
parent | caf1eb15838729e05a70d2fcb8de6834394b5764 (diff) |
loplugin:salcall handle static methods
Change-Id: Id6820abec4b8ca8bee26d62b333fd30b42a14aec
Reviewed-on: https://gerrit.libreoffice.org/46007
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/breakiteratorImpl.hxx | 2 | ||||
-rw-r--r-- | i18npool/inc/cclass_unicode.hxx | 2 | ||||
-rw-r--r-- | i18npool/inc/inputsequencechecker.hxx | 2 | ||||
-rw-r--r-- | i18npool/inc/transliteration_Ignore.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/characterclassification/cclass_unicode.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/inputchecker/inputsequencechecker.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/transliteration/transliteration_Ignore.cxx | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/i18npool/inc/breakiteratorImpl.hxx b/i18npool/inc/breakiteratorImpl.hxx index 0b71496e44eb..6ecaef630d3e 100644 --- a/i18npool/inc/breakiteratorImpl.hxx +++ b/i18npool/inc/breakiteratorImpl.hxx @@ -105,7 +105,7 @@ public: virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; - static sal_Int16 SAL_CALL getScriptClass(sal_uInt32 currentChar); + static sal_Int16 getScriptClass(sal_uInt32 currentChar); protected: css::i18n::Boundary result; // for word break iterator diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx index b3390de4b6f1..e48e048c5176 100644 --- a/i18npool/inc/cclass_unicode.hxx +++ b/i18npool/inc/cclass_unicode.hxx @@ -176,7 +176,7 @@ private: bool setupInternational( const css::lang::Locale& rLocale ); /// Implementation of getCharacterType() for one single character - static sal_Int32 SAL_CALL getCharType( const OUString& Text, sal_Int32 *nPos, sal_Int32 increment); + static sal_Int32 getCharType( const OUString& Text, sal_Int32 *nPos, sal_Int32 increment); }; diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx index e31ea6240d64..0c27637b9535 100644 --- a/i18npool/inc/inputsequencechecker.hxx +++ b/i18npool/inc/inputsequencechecker.hxx @@ -70,7 +70,7 @@ private: /// @throws css::uno::RuntimeException css::uno::Reference< css::i18n::XExtendedInputSequenceChecker >& getInputSequenceChecker(sal_Char const * rLanguage); - static sal_Char* SAL_CALL getLanguageByScripType(sal_Unicode cChar, sal_Unicode nChar); + static sal_Char* getLanguageByScripType(sal_Unicode cChar, sal_Unicode nChar); }; } diff --git a/i18npool/inc/transliteration_Ignore.hxx b/i18npool/inc/transliteration_Ignore.hxx index be0c2b357262..6e01a3e8a1e9 100644 --- a/i18npool/inc/transliteration_Ignore.hxx +++ b/i18npool/inc/transliteration_Ignore.hxx @@ -53,7 +53,7 @@ public: transliterateChar2Char( sal_Unicode inChar) override; /// @throws css::uno::RuntimeException - static css::uno::Sequence< OUString > SAL_CALL + static css::uno::Sequence< OUString > transliterateRange( const OUString& str1, const OUString& str2, XTransliteration& t1, XTransliteration& t2 ); struct Mapping { diff --git a/i18npool/source/characterclassification/cclass_unicode.cxx b/i18npool/source/characterclassification/cclass_unicode.cxx index a111dd3936ba..12e7d6b1e398 100644 --- a/i18npool/source/characterclassification/cclass_unicode.cxx +++ b/i18npool/source/characterclassification/cclass_unicode.cxx @@ -145,7 +145,7 @@ cclass_Unicode::getScript( const OUString& Text, sal_Int32 nPos ) { } -sal_Int32 SAL_CALL +sal_Int32 cclass_Unicode::getCharType( const OUString& Text, sal_Int32* nPos, sal_Int32 increment) { using namespace ::com::sun::star::i18n::KCharacterType; diff --git a/i18npool/source/inputchecker/inputsequencechecker.cxx b/i18npool/source/inputchecker/inputsequencechecker.cxx index 155423b5ec1f..fc92cea926c0 100644 --- a/i18npool/source/inputchecker/inputsequencechecker.cxx +++ b/i18npool/source/inputchecker/inputsequencechecker.cxx @@ -88,7 +88,7 @@ static ScriptTypeList typeList[] = { { UnicodeScript_kScriptCount, UnicodeScript_kScriptCount, (sal_Int16)UnicodeScript_kScriptCount } // 88 }; -sal_Char* SAL_CALL +sal_Char* InputSequenceCheckerImpl::getLanguageByScripType(sal_Unicode cChar, sal_Unicode nChar) { css::i18n::UnicodeScript type = (css::i18n::UnicodeScript)unicode::getUnicodeScriptType( cChar, typeList, (sal_Int16)UnicodeScript_kScriptCount ); diff --git a/i18npool/source/transliteration/transliteration_Ignore.cxx b/i18npool/source/transliteration/transliteration_Ignore.cxx index 4c0a4323acbf..503bf7d1858e 100644 --- a/i18npool/source/transliteration/transliteration_Ignore.cxx +++ b/i18npool/source/transliteration/transliteration_Ignore.cxx @@ -88,7 +88,7 @@ transliteration_Ignore::transliterate( const OUString& inStr, sal_Int32 startPos return folding( inStr, startPos, nCount, offset); } -Sequence< OUString > SAL_CALL +Sequence< OUString > transliteration_Ignore::transliterateRange( const OUString& str1, const OUString& str2, XTransliteration& t1, XTransliteration& t2 ) { |