diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:11:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:11:57 +0200 |
commit | a0737fb5911d87382370b22cf171b4750575c83e (patch) | |
tree | d4e1b4cd9d044bac4934d23a6649aecdb2356c84 /avmedia | |
parent | 5f98904df8e2f8845689cf5c5e1880c2c45e0454 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: If5714853a977068c2a75891c77c26d9c06989548
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstuno.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/opengl/ogluno.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/vlcuno.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/avmedia/source/gstreamer/gstuno.cxx b/avmedia/source/gstreamer/gstuno.cxx index e3b0bebcf13f..283cd57e1d76 100644 --- a/avmedia/source/gstreamer/gstuno.cxx +++ b/avmedia/source/gstreamer/gstuno.cxx @@ -48,7 +48,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediagst_component_getFactory( { const OUString aServiceName( SERVICE_NAME ); xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory( - reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ), + static_cast< lang::XMultiServiceFactory* >( pServiceManager ), IMPL_NAME, create_MediaPlayer, uno::Sequence< OUString >( &aServiceName, 1 ) ) ); } diff --git a/avmedia/source/opengl/ogluno.cxx b/avmedia/source/opengl/ogluno.cxx index f4ce756fb5f5..3eea976b8cc1 100644 --- a/avmedia/source/opengl/ogluno.cxx +++ b/avmedia/source/opengl/ogluno.cxx @@ -30,7 +30,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediaogl_component_getFactory( const OUString aServiceName( "com.sun.star.media.Manager_OpenGL" ); xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory( - reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ), + static_cast< lang::XMultiServiceFactory* >( pServiceManager ), OUString("com.sun.star.comp.avmedia.Manager_OpenGL" ), create_MediaPlayer, uno::Sequence< OUString >( &aServiceName, 1 ) ) ); } diff --git a/avmedia/source/vlc/vlcuno.cxx b/avmedia/source/vlc/vlcuno.cxx index e82b4a39f8de..67b0c0c92307 100644 --- a/avmedia/source/vlc/vlcuno.cxx +++ b/avmedia/source/vlc/vlcuno.cxx @@ -57,7 +57,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediavlc_component_getFactory( { const OUString aServiceName( SERVICE_NAME ); xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory( - reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ), + static_cast< lang::XMultiServiceFactory* >( pServiceManager ), IMPL_NAME, create_MediaPlayer, uno::Sequence< OUString >( &aServiceName, 1 ) ) ); } |