diff options
author | Matus Kukan <matus.kukan@gmail.com> | 2011-07-02 17:26:05 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-07-11 20:35:41 +0100 |
commit | 34fd375686bf73b3fa7c94f292c7ec541c67df27 (patch) | |
tree | ecd1e2917a5122e36bde36c2493ca5ec851e1f95 /extensions/source/dbpilots | |
parent | d77348bc3ec276ef5ea6898daee50314e7da3aa1 (diff) |
Move methods from component_getImplementationEnviron to component_getFactory
Diffstat (limited to 'extensions/source/dbpilots')
-rw-r--r-- | extensions/source/dbpilots/dbpservices.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/dbpilots/dbpservices.cxx b/extensions/source/dbpilots/dbpservices.cxx index b9e78cdadadb..d2735b775752 100644 --- a/extensions/source/dbpilots/dbpservices.cxx +++ b/extensions/source/dbpilots/dbpservices.cxx @@ -65,7 +65,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnviron uno_Environment ** /*ppEnv*/ ) { - dbp_initializeModule(); *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } @@ -75,6 +74,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( void* pServiceManager, void* /*pRegistryKey*/) { + dbp_initializeModule(); + Reference< XInterface > xRet; if (pServiceManager && pImplementationName) { |