Tag: cws_src680_dba24
User: fs      
Date: 05/03/08 07:06:21

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

Log:
 #i10000#

File Changes:

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

File [changed]: databasedocument.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.8.2.13&r2=1.8.2.14
Delta lines:  +6 -25
--------------------
--- databasedocument.cxx        8 Mar 2005 10:15:51 -0000       1.8.2.13
+++ databasedocument.cxx        8 Mar 2005 15:06:18 -0000       1.8.2.14
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: databasedocument.cxx,v $
  *
- *  $Revision: 1.8.2.13 $
+ *  $Revision: 1.8.2.14 $
  *
- *  last change: $Author: oj $ $Date: 2005/03/08 10:15:51 $
+ *  last change: $Author: fs $ $Date: 2005/03/08 15:06:18 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -207,7 +207,7 @@
        {
                Reference<XComponent> xComp(aIter->second,UNO_QUERY);
                if ( xComp.is() )
-                       xComp->addEventListener(this);
+                       xComp->addEventListener( static_cast< 
XTransactionListener* >( this ) );
        }
     try
     {
@@ -664,25 +664,6 @@
     notifyEvent(aEvent.EventName);
 }
 // 
-----------------------------------------------------------------------------
-// ::com::sun::star::document::XEventBroadcaster
-void SAL_CALL ODatabaseSource::addEventListener(const css::uno::Reference< 
css::document::XEventListener >& _xListener ) throw (css::uno::RuntimeException)
-{
-    m_aDocEventListeners.addInterface(_xListener);
-}
-// 
-----------------------------------------------------------------------------
-void SAL_CALL ODatabaseSource::removeEventListener( const css::uno::Reference< 
css::document::XEventListener >& _xListener ) throw (css::uno::RuntimeException)
-{
-    m_aDocEventListeners.removeInterface(_xListener);
-}
-// 
-----------------------------------------------------------------------------
-// ::com::sun::star::document::XEventListener
-void SAL_CALL ODatabaseSource::notifyEvent( const css::document::EventObject& 
aEvent ) throw (css::uno::RuntimeException)
-{
-    // used only to forward external events (e.g. for doc creation) from the 
frame loader
-    // to the global event broadcaster and all other interested doc event 
listener.
-    notifyEvent(aEvent.EventName);
-}
-// 
-----------------------------------------------------------------------------
 // ::com::sun::star::view::XPrintable
 Sequence< PropertyValue > SAL_CALL ODatabaseDocument::getPrinter(  ) throw 
(RuntimeException) 
 {
@@ -995,7 +976,7 @@
                xStatusIndicator->end();
 }
 // 
-----------------------------------------------------------------------------
-Reference< ::com::sun::star::ui::XUIConfigurationManager > SAL_CALL 
ODatabaseSource::getUIConfigurationManager(  ) throw (RuntimeException)
+Reference< ::com::sun::star::ui::XUIConfigurationManager > SAL_CALL 
ODatabaseDocument::getUIConfigurationManager(  ) throw (RuntimeException)
 {
     
::connectivity::checkDisposed(ODatabaseDocument_OfficeDocument::rBHelper.bDisposed);
     OSL_ENSURE(m_pImpl.is(),"Impl is NULL");
@@ -1209,7 +1190,7 @@
            {
                    Reference<XComponent> xComp(aIter->second,UNO_QUERY);
                    if ( xComp.is() )
-                           xComp->removeEventListener(this);
+                           xComp->removeEventListener( static_cast< 
XTransactionListener* >( this ) );
            }
 
            m_pImpl->m_xModel.clear();




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

Reply via email to