summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-21 13:46:53 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-21 13:47:30 +0200
commit74140442bbf39e19bdc05f1cfb975f5a11751f2c (patch)
treec9e87f47c6106093d72b18d218172a05763251f0 /svtools
parentd423fd54604ee9fa60c028528c93d5b6c25fbb71 (diff)
Drop macros from componentmodule.hxx
Diffstat (limited to 'svtools')
-rw-r--r--svtools/workben/unodialog/udlg_services.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/svtools/workben/unodialog/udlg_services.cxx b/svtools/workben/unodialog/udlg_services.cxx
index bf9386dd7aea..cb2949791e9c 100644
--- a/svtools/workben/unodialog/udlg_services.cxx
+++ b/svtools/workben/unodialog/udlg_services.cxx
@@ -56,6 +56,11 @@ namespace udlg
} // namespace udlg
//........................................................................
-IMPLEMENT_COMPONENT_LIBRARY_API( ::udlg::UdlgModule, ::udlg::initializeModule )
+extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
+ const sal_Char* pImplementationName, void* pServiceManager, void* pRegistryKey )
+{
+ ::udlg::initializeModule();
+ return ::udlg::UdlgModule::getInstance().getComponentFactory( pImplementationName, pServiceManager, pRegistryKey );
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */