Kaydet (Commit) e1c564e2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: Ib76b11d081e6c4f854b23a920973750c88dce3fa
üst bd482df1
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment