User: vg Date: 05/03/10 07:22:40 Modified: /dba/connectivity/source/drivers/ado/ AGroups.cxx
Log: INTEGRATION: CWS dba24 (1.6.260); FILE MERGED 2005/02/09 08:07:39 oj 1.6.260.1: #i26950# remove the need for XNamed File Changes: Directory: /dba/connectivity/source/drivers/ado/ ================================================ File [changed]: AGroups.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AGroups.cxx?r1=1.6&r2=1.7 Delta lines: +5 -11 -------------------- --- AGroups.cxx 9 Nov 2001 07:05:38 -0000 1.6 +++ AGroups.cxx 10 Mar 2005 15:22:38 -0000 1.7 @@ -85,6 +85,7 @@ #endif using namespace comphelper; +using namespace connectivity; using namespace connectivity::ado; using namespace com::sun::star::uno; using namespace com::sun::star::lang; @@ -94,7 +95,7 @@ typedef connectivity::sdbcx::OCollection OCollection_TYPE; // ------------------------------------------------------------------------- -Reference< XNamed > OGroups::createObject(const ::rtl::OUString& _rName) +sdbcx::ObjectType OGroups::createObject(const ::rtl::OUString& _rName) { return new OAdoGroup(m_pCatalog,isCaseSensitive(),_rName); } @@ -121,13 +122,6 @@ void OGroups::dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName) { m_aCollection.Delete(_sElementName); -} -// ----------------------------------------------------------------------------- -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 >(); } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
