User: obo     
Date: 2006/07/10 07:23:04

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

Log:
 INTEGRATION: CWS qiq (1.16.104); FILE MERGED
 2006/06/27 14:05:49 fs 1.16.104.2: RESYNC: (1.16-1.17); FILE MERGED
 2006/06/16 11:32:31 fs 1.16.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]: BViews.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/adabas/BViews.cxx?r1=1.17&r2=1.18
Delta lines:  +3 -6
-------------------
--- BViews.cxx  20 Jun 2006 01:11:38 -0000      1.17
+++ BViews.cxx  10 Jul 2006 14:23:01 -0000      1.18
@@ -149,20 +149,17 @@
        OCollection::disposing();
 }
 // -------------------------------------------------------------------------
-Reference< XPropertySet > OViews::createEmptyObject()
+Reference< XPropertySet > OViews::createDescriptor()
 {
        Reference<XConnection> xConnection = 
static_cast<OAdabasCatalog&>(m_rParent).getConnection();
        return new 
connectivity::sdbcx::OView(sal_True,xConnection->getMetaData());
 }
 // -------------------------------------------------------------------------
 // XAppend
-void OViews::appendObject( const Reference< XPropertySet >& descriptor )
+sdbcx::ObjectType OViews::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));
-
        createView(descriptor);
+    return createObject( _rForName );
 }
 // -------------------------------------------------------------------------
 // XDrop




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

Reply via email to