Tag: cws_dev300_odbmacros3 User: fs Date: 2008-07-23 10:09:12+0000 Modified: dba/dbaccess/source/ui/browser/dbloader.cxx
Log: #i76128# don't notify OnViewCreated - the new component is *not* a view for the database document, so don't lie about this File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: dbloader.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/dbloader.cxx?r1=1.36.2.2&r2=1.36.2.3 Delta lines: +2 -11 -------------------- --- dbloader.cxx 2008-06-11 13:04:55+0000 1.36.2.2 +++ dbloader.cxx 2008-07-23 10:09:09+0000 1.36.2.3 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dbloader.cxx,v $ - * $Revision: 1.36.2.2 $ + * $Revision: 1.36.2.3 $ * * This file is part of OpenOffice.org. * @@ -335,15 +335,6 @@ xController->attachFrame(rFrame); } - if ( xDatabaseDocument.is() ) - { - Reference< document::XEventListener > xGlobalDocEventBroadcaster(m_xServiceFactory->createInstance(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.GlobalEventBroadcaster"))),UNO_QUERY_THROW); - document::EventObject aEvent( xDatabaseDocument, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OnViewCreated")) ); - xGlobalDocEventBroadcaster->notifyEvent(aEvent); - // TODO: is this correct? The newly created view is not a view for the database document, at least not in - // the sense that its XController::getModel would return the database document - } - if ( rListener.is() ) rListener->loadFinished( this ); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
