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/source/opengl | |
parent | -fsanitize=function (diff) | |
download | core-a0737fb5911d87382370b22cf171b4750575c83e.tar.gz core-a0737fb5911d87382370b22cf171b4750575c83e.zip |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: If5714853a977068c2a75891c77c26d9c06989548
Diffstat (limited to 'avmedia/source/opengl')
-rw-r--r-- | avmedia/source/opengl/ogluno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ) ); } |