User: vg Date: 05/03/10 07:24:18 Modified: /dba/connectivity/source/drivers/ado/ AViews.cxx
Log: INTEGRATION: CWS dba24 (1.11.32); FILE MERGED 2005/02/09 08:07:40 oj 1.11.32.1: #i26950# remove the need for XNamed File Changes: Directory: /dba/connectivity/source/drivers/ado/ ================================================ File [changed]: AViews.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AViews.cxx?r1=1.11&r2=1.12 Delta lines: +1 -8 ------------------- --- AViews.cxx 22 Oct 2004 08:43:27 -0000 1.11 +++ AViews.cxx 10 Mar 2005 15:24:15 -0000 1.12 @@ -93,7 +93,7 @@ using namespace com::sun::star::sdbc; using namespace com::sun::star::container; -Reference< XNamed > OViews::createObject(const ::rtl::OUString& _rName) +sdbcx::ObjectType OViews::createObject(const ::rtl::OUString& _rName) { OAdoView* pView = new OAdoView(isCaseSensitive(),m_aCollection.GetItem(_rName)); pView->setNew(sal_False); @@ -147,13 +147,6 @@ ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),static_cast<XTypeProvider*>(this)); } // ------------------------------------------------------------------------- -Reference< XNamed > OViews::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]
