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

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I34dc9028a273b6a22395fe662dd071505989dc5c
üst 2931e0fa
...@@ -36,7 +36,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL hyphen_component_getFactory( ...@@ -36,7 +36,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL hyphen_component_getFactory(
{ {
void * pRet = Hyphenator_getFactory( void * pRet = Hyphenator_getFactory(
pImplName, pImplName,
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), static_cast< XMultiServiceFactory * >( pServiceManager ),
pRegistryKey ); pRegistryKey );
return pRet; return pRet;
......
...@@ -37,7 +37,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL spell_component_getFactory( ...@@ -37,7 +37,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL spell_component_getFactory(
void * pRet = NULL; void * pRet = NULL;
pRet = SpellChecker_getFactory( pRet = SpellChecker_getFactory(
pImplName, pImplName,
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), static_cast< XMultiServiceFactory * >( pServiceManager ),
pRegistryKey ); pRegistryKey );
return pRet; return pRet;
......
...@@ -36,7 +36,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL lnth_component_getFactory( ...@@ -36,7 +36,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL lnth_component_getFactory(
{ {
void * pRet = Thesaurus_getFactory( void * pRet = Thesaurus_getFactory(
pImplName, pImplName,
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), static_cast< XMultiServiceFactory * >( pServiceManager ),
pRegistryKey ); pRegistryKey );
return pRet; 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