User: rt Date: 05/10/24 01:31:04 Modified: /dba/dbaccess/source/ui/browser/ dsbrowserDnD.cxx
Log: INTEGRATION: CWS dba201d (1.71.2); FILE MERGED 2005/10/05 10:21:08 fs 1.71.2.1: #i55493# flush the connection before disconnecting, if possible File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: dsbrowserDnD.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/dsbrowserDnD.cxx?r1=1.71&r2=1.72 Delta lines: +4 -11 -------------------- --- dsbrowserDnD.cxx 23 Sep 2005 12:20:37 -0000 1.71 +++ dsbrowserDnD.cxx 24 Oct 2005 08:31:00 -0000 1.72 @@ -335,16 +335,9 @@ { DBG_ASSERT( impl_isDataSourceEntry( pEntryLoop ), "SbaTableQueryBrowser::clearTreeModel: no data source entry, but a connection?" ); // without this, pData->aController might not really be a valid ModelControllerConnector - - Reference< XComponent > xComponent( pData->xConnection, UNO_QUERY ); - if (xComponent.is()) - { - Reference< ::com::sun::star::lang::XEventListener> xEvtL((::cppu::OWeakObject*)this,UNO_QUERY); - xComponent->removeEventListener(xEvtL); - } + impl_releaseConnection( pData->xConnection ); } - pData->xConnection.clear(); pData->aController.clear(); delete pData; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
