From e39da32bacb97cd80fce2ced9bc368ce692d9a83 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:17:29 +0200 Subject: [PATCH] Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I9e12cea5aba3b78e1f6ed284aedb7531d107edbf --- unotools/source/ucbhelper/xtempfile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx index 20c9cc6fc3ba..da8321aa84af 100644 --- a/unotools/source/ucbhelper/xtempfile.cxx +++ b/unotools/source/ucbhelper/xtempfile.cxx @@ -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 ) )