Tag: cws_src680_dba23 User: oj Date: 05/02/11 02:10:21 Modified: /dba/dbaccess/source/core/dataaccess/ datasource.cxx
Log: RESYNC: (1.53-1.54); FILE MERGED 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.52.16.2&r2=1.52.16.3 Delta lines: +12 -2 -------------------- --- datasource.cxx 3 Feb 2005 08:06:56 -0000 1.52.16.2 +++ datasource.cxx 11 Feb 2005 10:10:18 -0000 1.52.16.3 @@ -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]
