Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I9465739d641310e7e3014b8b1a452ae05882df17
This commit is contained in:
Stephan Bergmann
2015-03-31 13:13:40 +02:00
parent eb1b5b8b0b
commit ccc740edbc

View File

@@ -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());