summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/dbpservices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/dbpilots/dbpservices.cxx')
-rw-r--r--extensions/source/dbpilots/dbpservices.cxx3
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)
{