diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:14:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:14:47 +0200 |
commit | bd482df17c3326e9bc6ed758df648c145dcbe394 (patch) | |
tree | 4fd5d3b45c5b2ed8c2966529283fe482f731136d /lingucomponent | |
parent | 2931e0fa66a0fb542dd211a487e8b282ecf90b71 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I34dc9028a273b6a22395fe662dd071505989dc5c
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/hyphenator/hyphen/hreg.cxx | 2 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sreg.cxx | 2 | ||||
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/ntreg.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hreg.cxx b/lingucomponent/source/hyphenator/hyphen/hreg.cxx index 493df8b8e552..7eb861741eba 100644 --- a/lingucomponent/source/hyphenator/hyphen/hreg.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hreg.cxx @@ -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; diff --git a/lingucomponent/source/spellcheck/spell/sreg.cxx b/lingucomponent/source/spellcheck/spell/sreg.cxx index e018a4a3c998..5fb211071e7e 100644 --- a/lingucomponent/source/spellcheck/spell/sreg.cxx +++ b/lingucomponent/source/spellcheck/spell/sreg.cxx @@ -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; diff --git a/lingucomponent/source/thesaurus/libnth/ntreg.cxx b/lingucomponent/source/thesaurus/libnth/ntreg.cxx index 4a6d2721636d..11f03388621d 100644 --- a/lingucomponent/source/thesaurus/libnth/ntreg.cxx +++ b/lingucomponent/source/thesaurus/libnth/ntreg.cxx @@ -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; |