summaryrefslogtreecommitdiff
path: root/include/i18nutil/transliteration.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:22:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:22:14 +0100
commitb6c49c46cfde21ad92cd007bdb3531ff0c4e0cb0 (patch)
treee6203311826909607466555bd7930eeb8a804238 /include/i18nutil/transliteration.hxx
parent57bbe564ba171663f6335b27df12352c71ed1832 (diff)
More loplugin:cstylecast: i18nutil
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Idca83b62766c2de87bf112cf0bb565e953b7dcb0
Diffstat (limited to 'include/i18nutil/transliteration.hxx')
-rw-r--r--include/i18nutil/transliteration.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/i18nutil/transliteration.hxx b/include/i18nutil/transliteration.hxx
index 92709690ac27..b90879eeb239 100644
--- a/include/i18nutil/transliteration.hxx
+++ b/include/i18nutil/transliteration.hxx
@@ -59,19 +59,19 @@ enum class TransliterationFlags {
/** The first character of the sentence is put in upper case
*/
- SENTENCE_CASE = (int)css::i18n::TransliterationModulesExtra::SENTENCE_CASE,
+ SENTENCE_CASE = int(css::i18n::TransliterationModulesExtra::SENTENCE_CASE),
/** The first character of the word is put in upper case.
* This one is part
*/
- TITLE_CASE = (int)css::i18n::TransliterationModulesExtra::TITLE_CASE,
+ TITLE_CASE = int(css::i18n::TransliterationModulesExtra::TITLE_CASE),
/** All characters of the word are to change their case from small letters
* to capital letters and vice versa.
*/
- TOGGLE_CASE = (int)css::i18n::TransliterationModulesExtra::TOGGLE_CASE,
+ TOGGLE_CASE = int(css::i18n::TransliterationModulesExtra::TOGGLE_CASE),
NON_IGNORE_MASK = (int)css::i18n::TransliterationModules_NON_IGNORE_MASK,
IGNORE_MASK = 0x7fffff00,
@@ -119,8 +119,8 @@ enum class TransliterationFlags {
/// transliterate Japanese normal sized character to small sized character
largeToSmall_ja_JP = (int)css::i18n::TransliterationModules_largeToSmall_ja_JP,
- IGNORE_DIACRITICS_CTL = (int)css::i18n::TransliterationModulesExtra::IGNORE_DIACRITICS_CTL,
- IGNORE_KASHIDA_CTL = (int)css::i18n::TransliterationModulesExtra::IGNORE_KASHIDA_CTL
+ IGNORE_DIACRITICS_CTL = int(css::i18n::TransliterationModulesExtra::IGNORE_DIACRITICS_CTL),
+ IGNORE_KASHIDA_CTL = int(css::i18n::TransliterationModulesExtra::IGNORE_KASHIDA_CTL)
};
namespace o3tl {
template<> struct typed_flags<TransliterationFlags> : is_typed_flags<TransliterationFlags, 0x7fffffff> {};