Tag: cws_dev300_odbmacros3
User: fs      
Date: 2008-07-23 11:47:55+0000
Modified:
   dba/dbaccess/source/filter/xml/dbloader2.cxx

Log:
 #i76128# inserting the document into the GlobalEventBroadcaster's collection 
is a task of the document itself, not of the loader

File Changes:

Directory: /dba/dbaccess/source/filter/xml/
===========================================

File [changed]: dbloader2.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/dbloader2.cxx?r1=1.32.28.7&r2=1.32.28.8
Delta lines:  +1 -12
--------------------
--- dbloader2.cxx       2008-07-23 11:44:28+0000        1.32.28.7
+++ dbloader2.cxx       2008-07-23 11:47:51+0000        1.32.28.8
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: dbloader2.cxx,v $
- * $Revision: 1.32.28.7 $
+ * $Revision: 1.32.28.8 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -37,7 +37,6 @@
 /** === begin UNO includes === **/
 #include <com/sun/star/beans/NamedValue.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XSet.hpp>
 #include <com/sun/star/document/XEventListener.hpp>
 #include <com/sun/star/document/XExtendedFilterDetection.hpp>
 #include <com/sun/star/document/XFilter.hpp>
@@ -525,16 +524,6 @@
 
        if (bSuccess)
        {
-        try
-        {
-            Reference< XSet > xModelCollection;
-            if ( m_aContext.createComponent( 
"com.sun.star.frame.GlobalEventBroadcaster", xModelCollection ) )
-                xModelCollection->insert( makeAny( xModel ) );
-        }
-        catch(Exception)
-        {
-            DBG_UNHANDLED_EXCEPTION();
-        }
         if ( rListener.is() )
                    rListener->loadFinished(this);
 




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

Reply via email to