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 /include/i18nutil | |
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 'include/i18nutil')
-rw-r--r-- | include/i18nutil/unicode.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/i18nutil/unicode.hxx b/include/i18nutil/unicode.hxx index 3380c69ad4c7..6175e19fffd9 100644 --- a/include/i18nutil/unicode.hxx +++ b/include/i18nutil/unicode.hxx @@ -37,25 +37,25 @@ class I18NUTIL_DLLPUBLIC unicode { public: - static sal_Int16 SAL_CALL getUnicodeType( const sal_Unicode ch ); - static sal_Int16 SAL_CALL getUnicodeScriptType( const sal_Unicode ch, const ScriptTypeList *typeList, sal_Int16 unknownType = 0 ); - static sal_Unicode SAL_CALL getUnicodeScriptStart(css::i18n::UnicodeScript type); - static sal_Unicode SAL_CALL getUnicodeScriptEnd(css::i18n::UnicodeScript type); - static sal_uInt8 SAL_CALL getUnicodeDirection( const sal_Unicode ch ); + static sal_Int16 getUnicodeType( const sal_Unicode ch ); + static sal_Int16 getUnicodeScriptType( const sal_Unicode ch, const ScriptTypeList *typeList, sal_Int16 unknownType = 0 ); + static sal_Unicode getUnicodeScriptStart(css::i18n::UnicodeScript type); + static sal_Unicode getUnicodeScriptEnd(css::i18n::UnicodeScript type); + static sal_uInt8 getUnicodeDirection( const sal_Unicode ch ); static bool SAL_CALL isControl( const sal_Unicode ch); static bool SAL_CALL isAlpha( const sal_Unicode ch); static bool SAL_CALL isSpace( const sal_Unicode ch); - static bool SAL_CALL isWhiteSpace( const sal_Unicode ch); + static bool isWhiteSpace( const sal_Unicode ch); //Map an ISO 15924 script code to Latin/Asian/Complex/Weak - static sal_Int16 SAL_CALL getScriptClassFromUScriptCode(UScriptCode eScript); + static sal_Int16 getScriptClassFromUScriptCode(UScriptCode eScript); //Return a language that can be written in a given ISO 15924 script code - static OString SAL_CALL getExemplarLanguageForUScriptCode(UScriptCode eScript); + static OString getExemplarLanguageForUScriptCode(UScriptCode eScript); //Format a number as a percentage according to the rules of the given //language, e.g. 100 -> "100%" for en-US vs "100 %" for de-DE - static OUString SAL_CALL formatPercent(double dNumber, + static OUString formatPercent(double dNumber, const LanguageTag &rLangTag); }; |