diff options
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/registerservices/registerservices.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/registerservices/registerservices.cxx b/i18npool/source/registerservices/registerservices.cxx index a38e9692033d..d76f8e9289cf 100644 --- a/i18npool/source/registerservices/registerservices.cxx +++ b/i18npool/source/registerservices/registerservices.cxx @@ -567,7 +567,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL i18npool_component_getFactory( const sal_Cha void* pRet = NULL; lang::XMultiServiceFactory* pServiceManager = - reinterpret_cast< lang::XMultiServiceFactory* >( _pServiceManager ); + static_cast< lang::XMultiServiceFactory* >( _pServiceManager ); uno::Reference< lang::XSingleServiceFactory > xFactory; for( const InstancesArray* pArr = aInstances; pArr->pServiceNm; ++pArr ) diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index 31314bb7a75b..0ff2639f6267 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -1117,7 +1117,7 @@ i18nsearch_component_getFactory( const sal_Char* sImplementationName, void* pRet = NULL; ::com::sun::star::lang::XMultiServiceFactory* pServiceManager = - reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* > + static_cast< ::com::sun::star::lang::XMultiServiceFactory* > ( _pServiceManager ); ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory; |