summaryrefslogtreecommitdiff
path: root/dbaccess/source/ext
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-13 17:56:47 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-13 17:56:47 +0200
commitc8d7891600b6920723ee10696cbf43bb7fea3edb (patch)
tree7decb265b72fdb644d63c10700f18cb446520a8e /dbaccess/source/ext
parent22d4188f575ae5ad3b149e55b3b3131b51393933 (diff)
Add prefixes for component_getFactory methods
Also remove accidentally kept .dxp files from gnumake'd module
Diffstat (limited to 'dbaccess/source/ext')
-rw-r--r--dbaccess/source/ext/adabas/Aservices.cxx2
-rw-r--r--dbaccess/source/ext/adabas/adabasui.component2
-rw-r--r--dbaccess/source/ext/adabas/adabasui.dxp2
-rw-r--r--dbaccess/source/ext/adabas/exports.dxp1
-rw-r--r--dbaccess/source/ext/macromigration/dbmm.component2
-rw-r--r--dbaccess/source/ext/macromigration/dbmm_services.cxx7
6 files changed, 9 insertions, 7 deletions
diff --git a/dbaccess/source/ext/adabas/Aservices.cxx b/dbaccess/source/ext/adabas/Aservices.cxx
index 0716f868b9fe..dbe21ca8c9f4 100644
--- a/dbaccess/source/ext/adabas/Aservices.cxx
+++ b/dbaccess/source/ext/adabas/Aservices.cxx
@@ -57,7 +57,7 @@ extern "C" void SAL_CALL createRegistryInfo_adabasui()
}
//---------------------------------------------------------------------------------------
-extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL adabasui_component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
void* /*pRegistryKey*/)
diff --git a/dbaccess/source/ext/adabas/adabasui.component b/dbaccess/source/ext/adabas/adabasui.component
index e547a0cffd4e..e9a79b1d59c1 100644
--- a/dbaccess/source/ext/adabas/adabasui.component
+++ b/dbaccess/source/ext/adabas/adabasui.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="adabasui"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="org.openoffice.comp.adabasui.AdabasCreateDialog">
<service name="com.sun.star.sdb.AdabasCreationDialog"/>
diff --git a/dbaccess/source/ext/adabas/adabasui.dxp b/dbaccess/source/ext/adabas/adabasui.dxp
deleted file mode 100644
index 4f567f9b2320..000000000000
--- a/dbaccess/source/ext/adabas/adabasui.dxp
+++ /dev/null
@@ -1,2 +0,0 @@
-component_getFactory
-
diff --git a/dbaccess/source/ext/adabas/exports.dxp b/dbaccess/source/ext/adabas/exports.dxp
deleted file mode 100644
index 70033078921a..000000000000
--- a/dbaccess/source/ext/adabas/exports.dxp
+++ /dev/null
@@ -1 +0,0 @@
-component_getFactory
diff --git a/dbaccess/source/ext/macromigration/dbmm.component b/dbaccess/source/ext/macromigration/dbmm.component
index a74e94510aeb..cb91044f5ee6 100644
--- a/dbaccess/source/ext/macromigration/dbmm.component
+++ b/dbaccess/source/ext/macromigration/dbmm.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="dbmm"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.dbaccess.macromigration.MacroMigrationDialogService">
<service name="com.sun.star.sdb.application.MacroMigrationWizard"/>
diff --git a/dbaccess/source/ext/macromigration/dbmm_services.cxx b/dbaccess/source/ext/macromigration/dbmm_services.cxx
index f691f181523d..85ae133a2424 100644
--- a/dbaccess/source/ext/macromigration/dbmm_services.cxx
+++ b/dbaccess/source/ext/macromigration/dbmm_services.cxx
@@ -49,6 +49,11 @@ namespace dbmm
} // namespace dbmm
//........................................................................
-IMPLEMENT_COMPONENT_LIBRARY_API( ::dbmm::MacroMigrationModule, ::dbmm::initializeModule )
+extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbmm_component_getFactory(
+ const sal_Char* pImplementationName, void* pServiceManager, void* pRegistryKey )
+{
+ ::dbmm::initializeModule();
+ return ::dbmm::MacroMigrationModule::getInstance().getComponentFactory( pImplementationName, pServiceManager, pRegistryKey );
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */