Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I9465739d641310e7e3014b8b1a452ae05882df17
This commit is contained in:
@@ -40,7 +40,7 @@ extern "C"
|
||||
if(drawinglayer::unorenderer::XPrimitive2DRenderer_getImplementationName().equalsAscii(pImplName))
|
||||
{
|
||||
xFactory = ::cppu::createSingleFactory(
|
||||
reinterpret_cast< lang::XMultiServiceFactory * >(pServiceManager),
|
||||
static_cast< lang::XMultiServiceFactory * >(pServiceManager),
|
||||
drawinglayer::unorenderer::XPrimitive2DRenderer_getImplementationName(),
|
||||
drawinglayer::unorenderer::XPrimitive2DRenderer_createInstance,
|
||||
drawinglayer::unorenderer::XPrimitive2DRenderer_getSupportedServiceNames());
|
||||
|
Reference in New Issue
Block a user