summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-17 20:36:45 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-17 23:51:45 +0200
commit4b60da5d1d25b7cdef001dabac3bbd09d1686718 (patch)
tree169ae8f9c4f9060891b8ac9c1b9e0268bbaa886b /dtrans
parentf3423eab7815827857149995e69d00c7b641282d (diff)
add more component prefixes
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/cnttype/mctfentry.cxx2
-rw-r--r--dtrans/source/generic/dtrans.component2
-rw-r--r--dtrans/source/generic/dtrans.cxx2
-rw-r--r--dtrans/source/win32/clipb/wcbentry.cxx2
-rw-r--r--dtrans/source/win32/dnd/dndentry.cxx11
-rw-r--r--dtrans/source/win32/ftransl/ftranslentry.cxx2
-rw-r--r--dtrans/util/dnd.component2
-rw-r--r--dtrans/util/ftransl.component2
-rw-r--r--dtrans/util/mcnttype.component2
-rw-r--r--dtrans/util/sysdtrans.component2
10 files changed, 10 insertions, 19 deletions
diff --git a/dtrans/source/cnttype/mctfentry.cxx b/dtrans/source/cnttype/mctfentry.cxx
index 6b09a8e69ce6..fa7950cd016b 100644
--- a/dtrans/source/cnttype/mctfentry.cxx
+++ b/dtrans/source/cnttype/mctfentry.cxx
@@ -90,7 +90,7 @@ extern "C"
// returns a factory to create XFilePicker-Services
//----------------------------------------------------------------------
-SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL mcnttype_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{
void* pRet = 0;
diff --git a/dtrans/source/generic/dtrans.component b/dtrans/source/generic/dtrans.component
index 69034f716907..ed4d38167d59 100644
--- a/dtrans/source/generic/dtrans.component
+++ b/dtrans/source/generic/dtrans.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="dtrans"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.datatransfer.ClipboardManager">
<service name="com.sun.star.datatransfer.clipboard.ClipboardManager"/>
diff --git a/dtrans/source/generic/dtrans.cxx b/dtrans/source/generic/dtrans.cxx
index c9295644ea80..fc2705d311e4 100644
--- a/dtrans/source/generic/dtrans.cxx
+++ b/dtrans/source/generic/dtrans.cxx
@@ -46,7 +46,7 @@ extern "C"
//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
+SAL_DLLPUBLIC_EXPORT void * SAL_CALL dtrans_component_getFactory(
const sal_Char * pImplName,
void * pServiceManager,
void * /*pRegistryKey*/
diff --git a/dtrans/source/win32/clipb/wcbentry.cxx b/dtrans/source/win32/clipb/wcbentry.cxx
index 5c61e6c3557f..31734f685aa6 100644
--- a/dtrans/source/win32/clipb/wcbentry.cxx
+++ b/dtrans/source/win32/clipb/wcbentry.cxx
@@ -88,7 +88,7 @@ extern "C"
// returns a factory to create XFilePicker-Services
//----------------------------------------------------------------------
-SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL sysdtrans_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{
void* pRet = 0;
diff --git a/dtrans/source/win32/dnd/dndentry.cxx b/dtrans/source/win32/dnd/dndentry.cxx
index e7b56fcc5cf7..78833685ee7c 100644
--- a/dtrans/source/win32/dnd/dndentry.cxx
+++ b/dtrans/source/win32/dnd/dndentry.cxx
@@ -58,17 +58,8 @@ Reference< XInterface > SAL_CALL createDropTarget( const Reference< XMultiServic
extern "C"
{
-sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
-{
- return g_moduleCount.canUnload( &g_moduleCount , pTime );
-}
-
-//----------------------------------------------------------------------
-// component_getFactory
-// returns a factory to create XFilePicker-Services
-//----------------------------------------------------------------------
-SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL dnd_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{
void* pRet = 0;
Reference< XSingleServiceFactory > xFactory;
diff --git a/dtrans/source/win32/ftransl/ftranslentry.cxx b/dtrans/source/win32/ftransl/ftranslentry.cxx
index e519b5361102..a47f5779223d 100644
--- a/dtrans/source/win32/ftransl/ftranslentry.cxx
+++ b/dtrans/source/win32/ftransl/ftranslentry.cxx
@@ -91,7 +91,7 @@ extern "C"
// returns a factory to create XFilePicker-Services
//----------------------------------------------------------------------
-SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL ftransl_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{
void* pRet = 0;
diff --git a/dtrans/util/dnd.component b/dtrans/util/dnd.component
index b56fe326f04f..8318f8a69aac 100644
--- a/dtrans/util/dnd.component
+++ b/dtrans/util/dnd.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="dnd"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.datatransfer.dnd.OleDragSource_V1">
<service name="com.sun.star.datatransfer.dnd.OleDragSource"/>
diff --git a/dtrans/util/ftransl.component b/dtrans/util/ftransl.component
index dad7d341cce7..db68f788453e 100644
--- a/dtrans/util/ftransl.component
+++ b/dtrans/util/ftransl.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="ftransl"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.datatransfer.DataFormatTranslator">
<service name="com.sun.star.datatransfer.DataFormatTranslator"/>
diff --git a/dtrans/util/mcnttype.component b/dtrans/util/mcnttype.component
index f5a937a7a77a..60e57c3dff8d 100644
--- a/dtrans/util/mcnttype.component
+++ b/dtrans/util/mcnttype.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="mcnttype"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.datatransfer.MimeCntTypeFactory">
<service name="com.sun.star.datatransfer.MimeContentTypeFactory"/>
diff --git a/dtrans/util/sysdtrans.component b/dtrans/util/sysdtrans.component
index ec1807000b3f..6f95f394be29 100644
--- a/dtrans/util/sysdtrans.component
+++ b/dtrans/util/sysdtrans.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="sysdtrans"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.datatransfer.clipboard.ClipboardW32">
<service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/>