diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 18:47:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:48 +0100 |
commit | e3ec05960a12d3598fefce8bb2e1c04457de90b6 (patch) | |
tree | e5bb1f5ba1f3d6f37462f5420251db96bcbcb44b /i18npool/source/breakiterator/xdictionary.cxx | |
parent | 552efce640f31130d8e598b1381038b565c81584 (diff) |
Some more loplugin:cstylecast: i18npool
Change-Id: Idbb928b2898bc6b2b5bfe3bdbfde0b81d68e4473
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 6f7c1968fea0..965b9b071775 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -171,15 +171,15 @@ void xdictionary::initDictionaryData(const sal_Char *pLang) if( aEntry.mhModule ) { oslGenericFunction func; func = osl_getAsciiFunctionSymbol( aEntry.mhModule, "getExistMark" ); - aEntry.maData.existMark = ((sal_uInt8 const * (*)()) func)(); + aEntry.maData.existMark = reinterpret_cast<sal_uInt8 const * (*)()>(func)(); func = osl_getAsciiFunctionSymbol( aEntry.mhModule, "getIndex1" ); - aEntry.maData.index1 = ((sal_Int16 const * (*)()) func)(); + aEntry.maData.index1 = reinterpret_cast<sal_Int16 const * (*)()>(func)(); func = osl_getAsciiFunctionSymbol( aEntry.mhModule, "getIndex2" ); - aEntry.maData.index2 = ((sal_Int32 const * (*)()) func)(); + aEntry.maData.index2 = reinterpret_cast<sal_Int32 const * (*)()>(func)(); func = osl_getAsciiFunctionSymbol( aEntry.mhModule, "getLenArray" ); - aEntry.maData.lenArray = ((sal_Int32 const * (*)()) func)(); + aEntry.maData.lenArray = reinterpret_cast<sal_Int32 const * (*)()>(func)(); func = osl_getAsciiFunctionSymbol( aEntry.mhModule, "getDataArea" ); - aEntry.maData.dataArea = ((sal_Unicode const * (*)()) func)(); + aEntry.maData.dataArea = reinterpret_cast<sal_Unicode const * (*)()>(func)(); } data = aEntry.maData; |