Kaydet (Commit) 9ad3eafb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I75514fe3a3c55691ca9adfa136bfcd5ff9a2b706
üst 9e2d611c
...@@ -304,7 +304,7 @@ extern "C" ...@@ -304,7 +304,7 @@ extern "C"
if (pServiceManager ) if (pServiceManager )
{ {
Reference< XSingleServiceFactory > xRet; Reference< XSingleServiceFactory > xRet;
Reference< XMultiServiceFactory > xSMgr = reinterpret_cast< XMultiServiceFactory * > ( pServiceManager ); Reference< XMultiServiceFactory > xSMgr = static_cast< XMultiServiceFactory * > ( pServiceManager );
OUString aImplementationName = OUString::createFromAscii( pImplName ); OUString aImplementationName = OUString::createFromAscii( pImplName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment