Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I34dc9028a273b6a22395fe662dd071505989dc5c
This commit is contained in:
Stephan Bergmann
2015-03-31 13:14:47 +02:00
parent 2931e0fa66
commit bd482df17c
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;