summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/pcrservices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/pcrservices.cxx')
-rw-r--r--extensions/source/propctrlr/pcrservices.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/pcrservices.cxx b/extensions/source/propctrlr/pcrservices.cxx
index ad8ebb1bf7cc..ffde3d828451 100644
--- a/extensions/source/propctrlr/pcrservices.cxx
+++ b/extensions/source/propctrlr/pcrservices.cxx
@@ -92,7 +92,7 @@ extern "C" void SAL_CALL pcr_initializeModule()
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
- void* /*pRegistryKey*/)
+ SAL_UNUSED_PARAMETER void* /*pRegistryKey*/)
{
pcr_initializeModule();
@@ -100,8 +100,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
if (pServiceManager && pImplementationName)
{
xRet = ::pcr::PcrModule::getInstance().getComponentFactory(
- ::rtl::OUString::createFromAscii(pImplementationName),
- static_cast< XMultiServiceFactory* >(pServiceManager));
+ ::rtl::OUString::createFromAscii(pImplementationName));
}
if (xRet.is())