diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:14:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:14:51 +0200 |
commit | e1c564e25734e71d5c4769d687303e82ad3e1d1a (patch) | |
tree | 2415c3083c20e937b6e3fd37f6a7eafafe1228c3 /linguistic | |
parent | bd482df17c3326e9bc6ed758df648c145dcbe394 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Ib76b11d081e6c4f854b23a920973750c88dce3fa
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngreg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linguistic/source/lngreg.cxx b/linguistic/source/lngreg.cxx index deb427dd2af4..16f8bf1da4ef 100644 --- a/linguistic/source/lngreg.cxx +++ b/linguistic/source/lngreg.cxx @@ -37,31 +37,31 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL lng_component_getFactory( void * pRet = LngSvcMgr_getFactory( pImplName, - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), pRegistryKey ); if(!pRet) pRet = LinguProps_getFactory( pImplName, - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), pRegistryKey ); if(!pRet) pRet = DicList_getFactory( pImplName, - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), pRegistryKey ); if(!pRet) pRet = ConvDicList_getFactory( pImplName, - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), pRegistryKey ); if(!pRet) pRet = GrammarCheckingIterator_getFactory( pImplName, - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), pRegistryKey ); return pRet; } |