connectivity/source/manager/mregistration.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit dea278910731ddd8856fa122d59d83e01bdff87f Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jul 29 16:12:33 2014 +0200 Fix *_component_getFactory function type Change-Id: I827fd727eb49ce19da847327d78bca531a11bc1a diff --git a/connectivity/source/manager/mregistration.cxx b/connectivity/source/manager/mregistration.cxx index 45eff18..ec11e69 100644 --- a/connectivity/source/manager/mregistration.cxx +++ b/connectivity/source/manager/mregistration.cxx @@ -34,7 +34,7 @@ extern "C" { -SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdbc2_component_getFactory(const sal_Char* _pImplName, ::com::sun::star::lang::XMultiServiceFactory* _pServiceManager, void* /*_pRegistryKey*/) +SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdbc2_component_getFactory(const sal_Char* _pImplName, void * _pServiceManager, void* /*_pRegistryKey*/) { void* pRet = NULL; @@ -42,7 +42,8 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdbc2_component_getFactory(const sal_Char* _ { Reference< XSingleServiceFactory > xFactory( ::cppu::createOneInstanceFactory( - _pServiceManager, + static_cast<css::lang::XMultiServiceFactory *>( + _pServiceManager), ::drivermanager::OSDBCDriverManager::getImplementationName_static(), ::drivermanager::OSDBCDriverManager::Create, ::drivermanager::OSDBCDriverManager::getSupportedServiceNames_static() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits