diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-21 13:29:42 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-21 13:30:54 +0200 |
commit | 1b465fcc0f5f699308c6ee5113dde6b82842c3dd (patch) | |
tree | ed00cf77b4d8d59a7a7bace70c689684c51641e6 /basic/source/uno/sbservices.cxx | |
parent | d65e8cc152d30916f3ccc153a1a1f7498858a1a0 (diff) |
Do not use macros from comphelper's componentmodule.hxx
Diffstat (limited to 'basic/source/uno/sbservices.cxx')
-rw-r--r-- | basic/source/uno/sbservices.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/basic/source/uno/sbservices.cxx b/basic/source/uno/sbservices.cxx index 5c4e1fc98309..f4453d424bfa 100644 --- a/basic/source/uno/sbservices.cxx +++ b/basic/source/uno/sbservices.cxx @@ -60,6 +60,11 @@ namespace basic } // namespace basic //........................................................................ -IMPLEMENT_COMPONENT_LIBRARY_API( ::basic::BasicModule, ::basic::initializeModule ) +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( + const sal_Char* pImplementationName, void* pServiceManager, void* pRegistryKey ) +{ + ::basic::initializeModule(); + return ::basic::BasicModule::getInstance().getComponentFactory( pImplementationName, pServiceManager, pRegistryKey ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |