Kaydet (Commit) dea27891 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix *_component_getFactory function type

Change-Id: I827fd727eb49ce19da847327d78bca531a11bc1a
üst cb995849
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment