From e1c564e25734e71d5c4769d687303e82ad3e1d1a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:14:51 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: Ib76b11d081e6c4f854b23a920973750c88dce3fa --- linguistic/source/lngreg.cxx | 10 +++++----- 1 file 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; } -- cgit v1.2.3