Tag: cws_src680_dba201d User: fs Date: 05/10/05 03:21:12 Modified: /dba/dbaccess/source/ui/browser/ dsbrowserDnD.cxx
Log: #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.71.2.1 Delta lines: +7 -14 -------------------- --- dsbrowserDnD.cxx 23 Sep 2005 12:20:37 -0000 1.71 +++ dsbrowserDnD.cxx 5 Oct 2005 10:21:08 -0000 1.71.2.1 @@ -4,9 +4,9 @@ * * $RCSfile: dsbrowserDnD.cxx,v $ * - * $Revision: 1.71 $ + * $Revision: 1.71.2.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:20:37 $ + * last change: $Author: fs $ $Date: 2005/10/05 10:21:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -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]
