summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-26 15:19:06 +0200
committerNoel Grandin <noel@peralex.com>2014-09-29 12:50:35 +0200
commit0ecf6afbd104b53836c7a4d45fbc2a6ce1e356e0 (patch)
treea1253c850347f9df39254fe9cf82b6ebf39d73f0 /i18npool
parentc353caee1c86476d98cd483f963f63c4195975f4 (diff)
loplugin: cstylecast
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/collator/collator_unicode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx
index d0aef3f5a21f..675b00711f31 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -364,7 +364,7 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
*/
icu::Locale icuLocale( LanguageTagIcu::getIcuLocale( LanguageTag( rLocale), rAlgorithm));
// load ICU collator
- collator = (RuleBasedCollator*) icu::Collator::createInstance(icuLocale, status);
+ collator = static_cast<RuleBasedCollator*>( icu::Collator::createInstance(icuLocale, status) );
if (! U_SUCCESS(status)) throw RuntimeException();
}
}