User: vg Date: 05/03/10 07:21:38 Modified: /dba/connectivity/source/drivers/adabas/ BUsers.cxx
Log: INTEGRATION: CWS dba24 (1.13.32); FILE MERGED 2005/02/09 08:07:38 oj 1.13.32.1: #i26950# remove the need for XNamed File Changes: Directory: /dba/connectivity/source/drivers/adabas/ =================================================== File [changed]: BUsers.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/adabas/BUsers.cxx?r1=1.13&r2=1.14 Delta lines: +2 -9 ------------------- --- BUsers.cxx 22 Oct 2004 08:42:03 -0000 1.13 +++ BUsers.cxx 10 Mar 2005 15:21:35 -0000 1.14 @@ -88,7 +88,7 @@ #endif using namespace ::comphelper; - +using namespace connectivity; using namespace connectivity::adabas; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; @@ -98,7 +98,7 @@ using namespace ::com::sun::star::lang; typedef connectivity::sdbcx::OCollection OCollection_TYPE; -Reference< XNamed > OUsers::createObject(const ::rtl::OUString& _rName) +sdbcx::ObjectType OUsers::createObject(const ::rtl::OUString& _rName) { return new OAdabasUser(m_pConnection,_rName); } @@ -112,13 +112,6 @@ { OUserExtend* pNew = new OUserExtend(m_pConnection); return pNew; -} -// ------------------------------------------------------------------------- -Reference< XNamed > OUsers::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]
