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.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/pcrservices.cxx b/extensions/source/propctrlr/pcrservices.cxx
index f8818fe5f042..2b0013e4a5ab 100644
--- a/extensions/source/propctrlr/pcrservices.cxx
+++ b/extensions/source/propctrlr/pcrservices.cxx
@@ -97,7 +97,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnviron
uno_Environment ** /*ppEnv*/
)
{
- pcr_initializeModule();
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
@@ -107,6 +106,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
void* pServiceManager,
void* /*pRegistryKey*/)
{
+ pcr_initializeModule();
+
Reference< XInterface > xRet;
if (pServiceManager && pImplementationName)
{