diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-13 17:56:47 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-13 17:56:47 +0200 |
commit | c8d7891600b6920723ee10696cbf43bb7fea3edb (patch) | |
tree | 7decb265b72fdb644d63c10700f18cb446520a8e /dbaccess | |
parent | 22d4188f575ae5ad3b149e55b3b3131b51393933 (diff) |
Add prefixes for component_getFactory methods
Also remove accidentally kept .dxp files from gnumake'd module
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/misc/services.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/adabas/Aservices.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/adabas/adabasui.component | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/adabas/adabasui.dxp | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/adabas/exports.dxp | 1 | ||||
-rw-r--r-- | dbaccess/source/ext/macromigration/dbmm.component | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/macromigration/dbmm_services.cxx | 7 | ||||
-rw-r--r-- | dbaccess/source/filter/xml/dbaxml.component | 2 | ||||
-rw-r--r-- | dbaccess/source/filter/xml/xmlservices.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/sdbtools/misc/sdbt_services.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/uiservices.cxx | 2 | ||||
-rw-r--r-- | dbaccess/util/dba.component | 2 | ||||
-rw-r--r-- | dbaccess/util/dbu.component | 2 | ||||
-rw-r--r-- | dbaccess/util/sdbt.component | 2 |
14 files changed, 17 insertions, 15 deletions
diff --git a/dbaccess/source/core/misc/services.cxx b/dbaccess/source/core/misc/services.cxx index 64ae3353bd50..e1b47a6e831c 100644 --- a/dbaccess/source/core/misc/services.cxx +++ b/dbaccess/source/core/misc/services.cxx @@ -96,7 +96,7 @@ extern "C" void SAL_CALL createRegistryInfo_DBA() } //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL dba_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void* pRegistryKey) 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: */ diff --git a/dbaccess/source/filter/xml/dbaxml.component b/dbaccess/source/filter/xml/dbaxml.component index 23b3a5c1a776..86816c9f2128 100644 --- a/dbaccess/source/filter/xml/dbaxml.component +++ b/dbaccess/source/filter/xml/dbaxml.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="dbaxml" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.sdb.DBExportFilter"> <service name="com.sun.star.document.ExportFilter"/> diff --git a/dbaccess/source/filter/xml/xmlservices.cxx b/dbaccess/source/filter/xml/xmlservices.cxx index ef5b12ea7eb2..d2edce3039bf 100644 --- a/dbaccess/source/filter/xml/xmlservices.cxx +++ b/dbaccess/source/filter/xml/xmlservices.cxx @@ -68,7 +68,7 @@ extern "C" void SAL_CALL createRegistryInfo_dbaxml() } //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbaxml_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/) diff --git a/dbaccess/source/sdbtools/misc/sdbt_services.cxx b/dbaccess/source/sdbtools/misc/sdbt_services.cxx index 30c806d8c3c1..9956d7a8d03b 100644 --- a/dbaccess/source/sdbtools/misc/sdbt_services.cxx +++ b/dbaccess/source/sdbtools/misc/sdbt_services.cxx @@ -54,7 +54,7 @@ extern "C" void SAL_CALL sdbt_initializeModule() } //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdbt_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/) diff --git a/dbaccess/source/ui/misc/uiservices.cxx b/dbaccess/source/ui/misc/uiservices.cxx index 041cd1016055..596a5a1f557d 100644 --- a/dbaccess/source/ui/misc/uiservices.cxx +++ b/dbaccess/source/ui/misc/uiservices.cxx @@ -107,7 +107,7 @@ extern "C" void SAL_CALL createRegistryInfo_DBU() } //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbu_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/) diff --git a/dbaccess/util/dba.component b/dbaccess/util/dba.component index b25768dbfab6..5b5155a6c604 100644 --- a/dbaccess/util/dba.component +++ b/dbaccess/util/dba.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="dba" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.chart2.data.DatabaseDataProvider"> <service name="com.sun.star.chart2.data.DatabaseDataProvider"/> diff --git a/dbaccess/util/dbu.component b/dbaccess/util/dbu.component index ce0dc45cf0be..e5260ed164e9 100644 --- a/dbaccess/util/dbu.component +++ b/dbaccess/util/dbu.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="dbu" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.dbaccess.DatabaseInteractionHandler"> <service name="com.sun.star.sdb.DatabaseInteractionHandler"/> diff --git a/dbaccess/util/sdbt.component b/dbaccess/util/sdbt.component index 0038c0cad27f..9c0dec30405f 100644 --- a/dbaccess/util/sdbt.component +++ b/dbaccess/util/sdbt.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="sdbt" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.dbaccess.ConnectionTools"> <service name="com.sun.star.sdb.tools.ConnectionTools"/> |