diff options
author | Matus Kukan <matus.kukan@gmail.com> | 2011-07-02 17:26:05 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-18 02:57:43 +0200 |
commit | d9db3380ec68c367955234f32ec66e2f6c9850d0 (patch) | |
tree | 78162df6ed4120beaca487ea09bdaa9a05f48165 /extensions/source/propctrlr/pcrservices.cxx | |
parent | efc03133b105af9e4b16e2f4b8797395f0ba6fde (diff) |
Move methods from component_getImplementationEnviron to component_getFactory
Diffstat (limited to 'extensions/source/propctrlr/pcrservices.cxx')
-rw-r--r-- | extensions/source/propctrlr/pcrservices.cxx | 3 |
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) { |