diff options
Diffstat (limited to 'extensions/source/dbpilots/dbpservices.cxx')
-rw-r--r-- | extensions/source/dbpilots/dbpservices.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/source/dbpilots/dbpservices.cxx b/extensions/source/dbpilots/dbpservices.cxx index bba456bfa4fd..054924b5aa04 100644 --- a/extensions/source/dbpilots/dbpservices.cxx +++ b/extensions/source/dbpilots/dbpservices.cxx @@ -24,7 +24,9 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::registry; -extern "C" void dbp_initializeModule() +extern "C" { + +static void dbp_initializeModule() { static bool s_bInit = false; if (!s_bInit) @@ -36,6 +38,7 @@ extern "C" void dbp_initializeModule() } } +} extern "C" SAL_DLLPUBLIC_EXPORT void* dbp_component_getFactory( const sal_Char* pImplementationName, |