User: rt      
Date: 05/02/02 05:59:37

Modified:
 /dba/dbaccess/source/core/dataaccess/
  datasource.cxx

Log:
 INTEGRATION: CWS imprec01 (1.52.12); FILE MERGED
 2005/01/11 13:59:34 oj 1.52.12.2: #i39228# send document events
 2005/01/11 08:58:23 oj 1.52.12.1: #i39228# send document events

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: datasource.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/datasource.cxx?r1=1.53&r2=1.54
Delta lines:  +12 -2
--------------------
--- datasource.cxx      21 Jan 2005 17:03:54 -0000      1.53
+++ datasource.cxx      2 Feb 2005 13:59:34 -0000       1.54
@@ -590,6 +590,15 @@
        m_bReadOnly = sal_False;
        m_aContainer.resize(4);
        m_pChildCommitListen = NULL;
+    try
+    {
+        
m_xDocEventBroadcaster.set(m_xServiceFactory->createInstance(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.GlobalEventBroadcaster"))),
+            UNO_QUERY);
+    }
+    catch(Exception)
+    {
+        OSL_ENSURE(0,"Could not create GlobalEventBroadcaster!");
+    }
 }
 // 
-----------------------------------------------------------------------------
 void ODatabaseSource::setMeAsParent(const Reference< XNameAccess >& _xName)
@@ -786,6 +795,7 @@
 
//------------------------------------------------------------------------------
 void ODatabaseSource::disposing()
 {
+    notifyEvent(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OnUnload")));
        OSubComponent::disposing();
        OPropertySetHelper::disposing();
        




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to