Tag: cws_src680_dba201b User: fs Date: 05/07/21 07:35:58 Modified: /dba/dbaccess/source/ui/app/ AppController.cxx, AppControllerDnD.cxx, AppControllerGen.cxx
Log: slight syntax changes to the recently introduced SharedUNOComponent for better readability of client code File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.20.26.3&r2=1.20.26.4 Delta lines: +11 -11 --------------------- --- AppController.cxx 20 Jul 2005 10:13:27 -0000 1.20.26.3 +++ AppController.cxx 21 Jul 2005 14:35:54 -0000 1.20.26.4 @@ -2,9 +2,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.20.26.3 $ + * $Revision: 1.20.26.4 $ * - * last change: $Author: fs $ $Date: 2005/07/20 10:13:27 $ + * last change: $Author: fs $ $Date: 2005/07/21 14:35:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -981,7 +981,7 @@ Reference<XConnection> xDestConnection; ensureConnection(xDestConnection); - SharedConnection xConnection( xDestConnection, false /* don't take ownership */ ); + SharedConnection xConnection( xDestConnection, SharedConnection::NoTakeOwnership ); // TODO: migrate ensureConnection to the SharedConnection-API m_aTableCopyHelper.pasteTable( aTransferData , getDatabaseName(), xConnection ); @@ -2353,7 +2353,7 @@ Reference<XConnection> xDestConnection; // supports the service sdb::connection ensureConnection( xDestConnection); - SharedConnection xConnection( xDestConnection, false /* don't take ownership */ ); + SharedConnection xConnection( xDestConnection, SharedConnection::NoTakeOwnership ); // TODO: migrate ensureConnection to the SharedConnection-API if ( xDestConnection.is() && m_aTableCopyHelper.copyTagTable( aDroppedData, m_aAsyncDrop, xConnection ) ) File [changed]: AppControllerDnD.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppControllerDnD.cxx?r1=1.10.38.2&r2=1.10.38.3 Delta lines: +5 -5 ------------------- --- AppControllerDnD.cxx 20 Jul 2005 10:14:08 -0000 1.10.38.2 +++ AppControllerDnD.cxx 21 Jul 2005 14:35:55 -0000 1.10.38.3 @@ -2,9 +2,9 @@ * * $RCSfile: AppControllerDnD.cxx,v $ * - * $Revision: 1.10.38.2 $ + * $Revision: 1.10.38.3 $ * - * last change: $Author: fs $ $Date: 2005/07/20 10:14:08 $ + * last change: $Author: fs $ $Date: 2005/07/21 14:35:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -962,7 +962,7 @@ if ( !xDestConnection.is() ) return sal_False; - SharedConnection xConnection( xDestConnection, false /* don't take ownership */ ); + SharedConnection xConnection( xDestConnection, SharedConnection::NoTakeOwnership ); // TODO: migrate ensureConnection to the SharedConnection-API return m_aTableCopyHelper.copyTagTable( _rDesc, _bCheck, xConnection ); @@ -980,7 +980,7 @@ Reference<XConnection> xDestConnection; // supports the service sdb::connection ensureConnection( xDestConnection); - SharedConnection xConnection( xDestConnection, false /* don't take ownership */ ); + SharedConnection xConnection( xDestConnection, SharedConnection::NoTakeOwnership ); // TODO: migrate ensureConnection to the SharedConnection-API if ( xDestConnection.is() ) File [changed]: AppControllerGen.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppControllerGen.cxx?r1=1.12.38.2&r2=1.12.38.3 Delta lines: +7 -7 ------------------- --- AppControllerGen.cxx 20 Jul 2005 10:13:48 -0000 1.12.38.2 +++ AppControllerGen.cxx 21 Jul 2005 14:35:55 -0000 1.12.38.3 @@ -2,9 +2,9 @@ * * $RCSfile: AppControllerGen.cxx,v $ * - * $Revision: 1.12.38.2 $ + * $Revision: 1.12.38.3 $ * - * last change: $Author: fs $ $Date: 2005/07/20 10:13:48 $ + * last change: $Author: fs $ $Date: 2005/07/21 14:35:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -243,7 +243,7 @@ Reference<XConnection> xDestConnection; ensureConnection(xDestConnection); - SharedConnection xConnection( xDestConnection, false /* don't take ownership */ ); + SharedConnection xConnection( xDestConnection, SharedConnection::NoTakeOwnership ); // TODO: migrate ensureConnection to the SharedConnection-API m_aTableCopyHelper.pasteTable( _nFormatId, rClipboard, getDatabaseName(), xConnection); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
