summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/dndentry.cxx
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-07-20 11:41:38 +0000
committerJoachim Lingner <jl@openoffice.org>2001-07-20 11:41:38 +0000
commitfc1657b4734a4a106cf0e3712ca87a5ec0bac092 (patch)
tree589237977c72f7e02c9a9c9fd6a43221d7ba8ad7 /dtrans/source/win32/dnd/dndentry.cxx
parent0f2d7dba2f6552cd911343f4045c79abd1c34c7b (diff)
#89819#
Diffstat (limited to 'dtrans/source/win32/dnd/dndentry.cxx')
-rw-r--r--dtrans/source/win32/dnd/dndentry.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/dtrans/source/win32/dnd/dndentry.cxx b/dtrans/source/win32/dnd/dndentry.cxx
index 6b5ecaec7492..09b0c3de825b 100644
--- a/dtrans/source/win32/dnd/dndentry.cxx
+++ b/dtrans/source/win32/dnd/dndentry.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dndentry.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jl $ $Date: 2001-03-12 16:35:40 $
+ * last change: $Author: jl $ $Date: 2001-07-20 12:41:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,7 +80,7 @@ using namespace ::com::sun::star::registry ;
using namespace ::cppu ;
using namespace ::com::sun::star::lang;
-
+rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
Reference< XInterface > SAL_CALL createDragSource( const Reference< XMultiServiceFactory >& rServiceManager )
{
@@ -97,6 +97,10 @@ 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_getImplementationEnvironment
@@ -160,7 +164,8 @@ void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* p
reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
OUString::createFromAscii( pImplName ),
createDragSource,
- aSNS);
+ aSNS,
+ &g_moduleCount.modCnt);
}
else if( pSrvManager && ( 0 == rtl_str_compare( pImplName, DNDTARGET_IMPL_NAME ) ) )