User: hr      
Date: 05/09/23 05:15:17

Modified:
 /dba/dbaccess/source/ui/app/
  AppControllerGen.cxx

Log:
 INTEGRATION: CWS dba201b (1.12.38); FILE MERGED
 2005/09/21 07:47:00 oj 1.12.38.4: RESYNC: (1.12-1.13); FILE MERGED
 2005/07/21 14:35:55 fs 1.12.38.3: slight syntax changes to the recently 
introduced SharedUNOComponent for better readability of client code
 2005/07/20 10:13:48 fs 1.12.38.2: #i51255# XConnection (partly) replaced with 
SharedConnection
 2005/07/11 13:37:10 fs 1.12.38.1: merging CWS dba201 into CWS dba201b

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.13&r2=1.14
Delta lines:  +10 -5
--------------------
--- AppControllerGen.cxx        8 Sep 2005 14:19:40 -0000       1.13
+++ AppControllerGen.cxx        23 Sep 2005 12:15:14 -0000      1.14
@@ -216,7 +216,11 @@
             {
                 Reference<XConnection> xDestConnection;
                 ensureConnection(xDestConnection);
-                               m_aTableCopyHelper.pasteTable(_nFormatId, 
rClipboard,getDatabaseName() , xDestConnection);
+
+                SharedConnection xConnection( xDestConnection, 
SharedConnection::NoTakeOwnership );
+                // TODO: migrate ensureConnection to the SharedConnection-API
+
+                m_aTableCopyHelper.pasteTable( _nFormatId, rClipboard, 
getDatabaseName(), xConnection);
             }
                        else
                                paste( 
eType,ODataAccessObjectTransferable::extractObjectDescriptor(rClipboard) );
@@ -429,6 +433,7 @@
                {
                        ElementType eType = getContainer()->getElementType();
                        clearConnections();
+                       getContainer()->getDetailView()->clearPages(sal_False);
                        getContainer()->changeContainer(E_NONE); // invalidate 
the old selection
                        getContainer()->changeContainer(eType); // reselect the 
current one again
                }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to