Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I34dc9028a273b6a22395fe662dd071505989dc5c
This commit is contained in:
@@ -36,7 +36,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL hyphen_component_getFactory(
|
||||
{
|
||||
void * pRet = Hyphenator_getFactory(
|
||||
pImplName,
|
||||
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
|
||||
static_cast< XMultiServiceFactory * >( pServiceManager ),
|
||||
pRegistryKey );
|
||||
|
||||
return pRet;
|
||||
|
@@ -37,7 +37,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL spell_component_getFactory(
|
||||
void * pRet = NULL;
|
||||
pRet = SpellChecker_getFactory(
|
||||
pImplName,
|
||||
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
|
||||
static_cast< XMultiServiceFactory * >( pServiceManager ),
|
||||
pRegistryKey );
|
||||
|
||||
return pRet;
|
||||
|
@@ -36,7 +36,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL lnth_component_getFactory(
|
||||
{
|
||||
void * pRet = Thesaurus_getFactory(
|
||||
pImplName,
|
||||
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
|
||||
static_cast< XMultiServiceFactory * >( pServiceManager ),
|
||||
pRegistryKey );
|
||||
|
||||
return pRet;
|
||||
|
Reference in New Issue
Block a user