Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I5c0e0fbb7ebb3bcb85dee363e77f6f7c47e815d8
This commit is contained in:
Stephan Bergmann
2015-03-31 13:17:50 +02:00
parent 62e798c4a5
commit 7b5924ff98

View File

@@ -34,7 +34,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpchelp_component_getFactory(
void * pRet = 0;
uno::Reference< lang::XMultiServiceFactory > xSMgr(
reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ) );
static_cast< lang::XMultiServiceFactory * >( pServiceManager ) );
uno::Reference< lang::XSingleServiceFactory > xFactory;
if ( ::chelp::ContentProvider::getImplementationName_Static().