Tag: cws_src680_dba201b User: fs Date: 05/07/20 03:13:51 Modified: /dba/dbaccess/source/ui/app/ AppControllerGen.cxx
Log: #i51255# XConnection (partly) replaced with SharedConnection File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppControllerGen.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppControllerGen.cxx?r1=1.12.38.1&r2=1.12.38.2 Delta lines: +7 -3 ------------------- --- AppControllerGen.cxx 11 Jul 2005 13:37:10 -0000 1.12.38.1 +++ AppControllerGen.cxx 20 Jul 2005 10:13:48 -0000 1.12.38.2 @@ -2,9 +2,9 @@ * * $RCSfile: AppControllerGen.cxx,v $ * - * $Revision: 1.12.38.1 $ + * $Revision: 1.12.38.2 $ * - * last change: $Author: fs $ $Date: 2005/07/11 13:37:10 $ + * last change: $Author: fs $ $Date: 2005/07/20 10:13:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -242,7 +242,11 @@ { Reference<XConnection> xDestConnection; ensureConnection(xDestConnection); - m_aTableCopyHelper.pasteTable(_nFormatId, rClipboard,getDatabaseName() , xDestConnection); + + SharedConnection xConnection( xDestConnection, false /* don't take ownership */ ); + // TODO: migrate ensureConnection to the SharedConnection-API + + m_aTableCopyHelper.pasteTable( _nFormatId, rClipboard, getDatabaseName(), xConnection); } else paste( eType,ODataAccessObjectTransferable::extractObjectDescriptor(rClipboard) ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
