[Libreoffice-commits] core.git: avmedia/source
Stephan Bergmann
sbergman at redhat.com
Thu Apr 2 11:07:52 PDT 2015
avmedia/source/macavf/macavfuno.mm | 2 +-
avmedia/source/quicktime/quicktimeuno.mm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e8569ac0907ca6a53cc86daa476b313004fbebd9
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Apr 2 20:07:23 2015 +0200
loplugin:redundantcast
Change-Id: I7eaf3d0fa6abc52a9702dcbe78849d6d1b3963c9
diff --git a/avmedia/source/macavf/macavfuno.mm b/avmedia/source/macavf/macavfuno.mm
index d313324..27a0fe2 100644
--- a/avmedia/source/macavf/macavfuno.mm
+++ b/avmedia/source/macavf/macavfuno.mm
@@ -37,7 +37,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediaMacAVF_component_getFactor
const ::rtl::OUString aServiceName( AVMEDIA_MACAVF_MANAGER_SERVICENAME );
xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
- reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
+ static_cast< lang::XMultiServiceFactory* >( pServiceManager ),
AVMEDIA_MACAVF_MANAGER_IMPLEMENTATIONNAME,
create_MediaPlayer, uno::Sequence< ::rtl::OUString >( &aServiceName, 1 ) ) );
}
diff --git a/avmedia/source/quicktime/quicktimeuno.mm b/avmedia/source/quicktime/quicktimeuno.mm
index 20ef849..3faf545 100644
--- a/avmedia/source/quicktime/quicktimeuno.mm
+++ b/avmedia/source/quicktime/quicktimeuno.mm
@@ -41,7 +41,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediaQuickTime_component_getFac
const ::rtl::OUString aServiceName( ::rtl::OUString(AVMEDIA_QUICKTIME_MANAGER_SERVICENAME ) );
xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
- reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
+ static_cast< lang::XMultiServiceFactory* >( pServiceManager ),
::rtl::OUString(AVMEDIA_QUICKTIME_MANAGER_IMPLEMENTATIONNAME ),
create_MediaPlayer, uno::Sequence< OUString >( &aServiceName, 1 ) ) );
}
More information about the Libreoffice-commits
mailing list