User: vg Date: 05/03/10 07:19:59 Modified: /dba/connectivity/source/drivers/adabas/ BGroups.cxx
Log: INTEGRATION: CWS dba24 (1.8.262); FILE MERGED 2005/02/09 08:07:36 oj 1.8.262.1: #i26950# remove the need for XNamed File Changes: Directory: /dba/connectivity/source/drivers/adabas/ =================================================== File [changed]: BGroups.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/adabas/BGroups.cxx?r1=1.8&r2=1.9 Delta lines: +5 -12 -------------------- --- BGroups.cxx 12 Oct 2001 11:39:41 -0000 1.8 +++ BGroups.cxx 10 Mar 2005 15:19:56 -0000 1.9 @@ -82,7 +82,7 @@ #endif using namespace ::comphelper; - +using namespace connectivity; using namespace connectivity::adabas; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; @@ -92,7 +92,7 @@ using namespace ::com::sun::star::lang; typedef connectivity::sdbcx::OCollection OCollection_TYPE; // ------------------------------------------------------------------------- -Reference< XNamed > OGroups::createObject(const ::rtl::OUString& _rName) +sdbcx::ObjectType OGroups::createObject(const ::rtl::OUString& _rName) { return new OAdabasGroup(m_pConnection,_rName); } @@ -106,13 +106,6 @@ { // OAdabasGroup* pNew = return new OAdabasGroup(m_pConnection); -} -// ----------------------------------------------------------------------------- -Reference< XNamed > OGroups::cloneObject(const Reference< XPropertySet >& _xDescriptor) -{ - Reference< XNamed > xName(_xDescriptor,UNO_QUERY); - OSL_ENSURE(xName.is(),"Must be a XName interface here !"); - return xName.is() ? createObject(xName->getName()) : Reference< XNamed >(); } // ------------------------------------------------------------------------- // XAppend --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
