Kaydet (Commit) cd79d514 authored tarafından Peter Foley's avatar Peter Foley

prefix all component_getFactory methods

Change-Id: I954176fdab9103125444dd2fb397673406f7aff9
üst d8b8530d
...@@ -30,7 +30,7 @@ static cppu::ImplementationEntry const services[] = ...@@ -30,7 +30,7 @@ static cppu::ImplementationEntry const services[] =
} }
extern "C" SAL_DLLPUBLIC_EXPORT void *SAL_CALL component_getFactory( extern "C" SAL_DLLPUBLIC_EXPORT void *SAL_CALL mork_component_getFactory(
char const *pImplName, void *pServiceManager, void *pRegistryKey) char const *pImplName, void *pServiceManager, void *pRegistryKey)
{ {
return cppu::component_getFactoryHelper( return cppu::component_getFactoryHelper(
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
* *
--> -->
<component xmlns="http://openoffice.org/2010/uno-components" <component xmlns="http://openoffice.org/2010/uno-components" prefix="mysqlc"
loader="com.sun.star.loader.SharedLibrary"> loader="com.sun.star.loader.SharedLibrary">
<implementation name="com.sun.star.comp.sdbc.mysqlc.MysqlCDriver"> <implementation name="com.sun.star.comp.sdbc.mysqlc.MysqlCDriver">
<service name="com.sun.star.sdbc.Driver"/> <service name="com.sun.star.sdbc.Driver"/>
......
...@@ -76,7 +76,7 @@ struct ProviderRequest ...@@ -76,7 +76,7 @@ struct ProviderRequest
/* {{{ component_getFactory -I- */ /* {{{ component_getFactory -I- */
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL mysqlc_component_getFactory(
const sal_Char * pImplementationName, const sal_Char * pImplementationName,
void * pServiceManager, void * pServiceManager,
void * /* pRegistryKey */) void * /* pRegistryKey */)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
* *
--> -->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="sessioninstall"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="org.libreoffice.comp.shell.sessioninstall.SyncDbusSessionHelper"> <implementation name="org.libreoffice.comp.shell.sessioninstall.SyncDbusSessionHelper">
<service name="org.freedesktop.PackageKit.SyncDbusSessionHelper"/> <service name="org.freedesktop.PackageKit.SyncDbusSessionHelper"/>
......
...@@ -23,7 +23,7 @@ const sdecl::ServiceDecl SyncDbusSessionHelperServiceDecl( ...@@ -23,7 +23,7 @@ const sdecl::ServiceDecl SyncDbusSessionHelperServiceDecl(
COMPHELPER_SERVICEDECL_EXPORTS1(losessioninstall, SyncDbusSessionHelperServiceDecl); COMPHELPER_SERVICEDECL_EXPORTS1(losessioninstall, SyncDbusSessionHelperServiceDecl);
extern "C" extern "C"
{ {
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( sal_Char const* pImplName, ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, ::com::sun::star::registry::XRegistryKey* pRegistryKey ) SAL_DLLPUBLIC_EXPORT void* SAL_CALL sessioninstall_component_getFactory( sal_Char const* pImplName, ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, ::com::sun::star::registry::XRegistryKey* pRegistryKey )
{ return losessioninstall_component_getFactory(pImplName, pServiceManager, pRegistryKey); } { return losessioninstall_component_getFactory(pImplName, pServiceManager, pRegistryKey); }
} }
......
...@@ -116,12 +116,8 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) ...@@ -116,12 +116,8 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
} }
#endif #endif
#ifdef DISABLE_DYNLOADING
#define component_getFactory bootstrap_component_getFactory
#endif
//================================================================================================== //==================================================================================================
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void * SAL_CALL bootstrap_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{ {
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
--> -->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="bootstrap"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.stoc.DLLComponentLoader"> <implementation name="com.sun.star.comp.stoc.DLLComponentLoader">
<service name="com.sun.star.loader.SharedLibrary"/> <service name="com.sun.star.loader.SharedLibrary"/>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
using namespace com::sun::star; using namespace com::sun::star;
//========================================================================= //=========================================================================
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpchelp_component_getFactory(
const sal_Char * pImplName, const sal_Char * pImplName,
void * pServiceManager, void * pServiceManager,
SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ ) SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ )
......
...@@ -246,7 +246,7 @@ TVFactory::CreateInstance( ...@@ -246,7 +246,7 @@ TVFactory::CreateInstance(
} }
//========================================================================= //=========================================================================
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL treeview_component_getFactory(
const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey ) const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey )
{ {
(void)pRegistryKey; (void)pRegistryKey;
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
--> -->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="treeview"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.help.TreeViewImpl"> <implementation name="com.sun.star.help.TreeViewImpl">
<service name="com.sun.star.help.TreeView"/> <service name="com.sun.star.help.TreeView"/>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
--> -->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="ucpchelp"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="CHelpContentProvider"> <implementation name="CHelpContentProvider">
<service name="com.sun.star.help.XMLHelp"/> <service name="com.sun.star.help.XMLHelp"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment