Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I9e12cea5aba3b78e1f6ed284aedb7531d107edbf
This commit is contained in:
Stephan Bergmann
2015-03-31 13:17:29 +02:00
parent be44ec8c28
commit e39da32bac

View File

@@ -466,7 +466,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL utl_component_getFactory(
{
void * pRet = 0;
css::uno::Reference< css::lang::XMultiServiceFactory > xSMgr(
reinterpret_cast< css::lang::XMultiServiceFactory * >( pServiceManager ) );
static_cast< css::lang::XMultiServiceFactory * >( pServiceManager ) );
css::uno::Reference< css::lang::XSingleComponentFactory > xFactory;
if (OTempFileService::getImplementationName_Static().equalsAscii( pImplName ) )