diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:29 +0200 |
commit | e39da32bacb97cd80fce2ced9bc368ce692d9a83 (patch) | |
tree | 9b484d0f6f06a3c6648879dc522592d6958233f2 | |
parent | be44ec8c28ce2af9644fcc58317dc1c9b20e2a21 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I9e12cea5aba3b78e1f6ed284aedb7531d107edbf
-rw-r--r-- | unotools/source/ucbhelper/xtempfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ) |