diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-28 16:11:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-28 16:11:33 +0200 |
commit | 70946992d4d1b9d08fbb5cace885c8e93eebc137 (patch) | |
tree | b608dc1c794cb0491aabe0a982e467bf5b0ef7f7 /extensions | |
parent | b450d32260e1f3d2bc83297ca9cb54b62e36ac20 (diff) |
Fix some *_component_getFactory function types
Change-Id: I912f9d1454c049419e9ead6f0ff8d7fa7d8cd6c5
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 90ba39fe7a09..feec3e9ede85 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -193,7 +193,7 @@ Sequence< OUString > BibliographyLoader::getSupportedServiceNames_Static(void) t extern "C" { SAL_DLLPUBLIC_EXPORT void * SAL_CALL bib_component_getFactory( - const sal_Char * pImplName, XMultiServiceFactory * pServiceManager, void * /*pRegistryKey*/ ) + const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = 0; if (BibliographyLoader::getImplementationName_Static().equalsAscii( pImplName ) ) @@ -201,7 +201,7 @@ extern "C" // create the factory Reference< XSingleServiceFactory > xFactory = cppu::createSingleFactory( - pServiceManager, + static_cast<css::lang::XMultiServiceFactory *>(pServiceManager), BibliographyLoader::getImplementationName_Static(), BibliographyLoader_CreateInstance, BibliographyLoader::getSupportedServiceNames_Static() ); |