User: obo     
Date: 2006/07/10 07:22:42

Modified:
   dba/connectivity/source/drivers/adabas/BTables.cxx

Log:
 INTEGRATION: CWS qiq (1.31.104); FILE MERGED
 2006/06/27 14:05:18 fs 1.31.104.2: RESYNC: (1.31-1.32); FILE MERGED
 2006/06/16 11:32:30 fs 1.31.104.1: during #i51143#:
 
 refactored VCollection:
 - createEmptyObject now named createDescriptor
 - cloneObject removed
 - appendObject now returns the newly created object
   (previously done via a subsequent call to cloneObject)

File Changes:

Directory: /dba/connectivity/source/drivers/adabas/
===================================================

File [changed]: BTables.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/adabas/BTables.cxx?r1=1.32&r2=1.33
Delta lines:  +3 -6
-------------------
--- BTables.cxx 20 Jun 2006 01:11:03 -0000      1.32
+++ BTables.cxx 10 Jul 2006 14:22:40 -0000      1.33
@@ -133,19 +133,16 @@
        OCollection::disposing();
 }
 // -------------------------------------------------------------------------
-Reference< XPropertySet > OTables::createEmptyObject()
+Reference< XPropertySet > OTables::createDescriptor()
 {
        return new 
OAdabasTable(this,static_cast<OAdabasCatalog&>(m_rParent).getConnection());
 }
 // -------------------------------------------------------------------------
 // XAppend
-void OTables::appendObject( const Reference< XPropertySet >& descriptor )
+sdbcx::ObjectType OTables::appendObject( const ::rtl::OUString& _rForName, 
const Reference< XPropertySet >& descriptor )
 {
-       ::rtl::OUString aName = 
getString(descriptor->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME)));
-       if(!aName.getLength())
-               
::dbtools::throwFunctionSequenceException(static_cast<XTypeProvider*>(this));
-
        createTable(descriptor);
+    return createObject( _rForName );
 }
 // -------------------------------------------------------------------------
 void OTables::setComments(const Reference< XPropertySet >& descriptor ) 
throw(SQLException, RuntimeException)




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

Reply via email to