diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:13:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:13:40 +0200 |
commit | ccc740edbc459e3ccb7bd3fd612d9a37c1b01463 (patch) | |
tree | fd82a9bd0dcc6e40bb51be76315ca817229daef1 | |
parent | eb1b5b8b0b3936a0f6cba8978c4693d6f67b5f89 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I9465739d641310e7e3014b8b1a452ae05882df17
-rw-r--r-- | drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx b/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx index 5d0620dc5ca4..33ba9798ae92 100644 --- a/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx +++ b/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx @@ -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()); |