diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 14:24:15 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 14:24:15 +0000 |
commit | ce9c73bf6fb38509e57f03ccc5a0318b56dddbc5 (patch) | |
tree | 1f8be9967e35ba3ede93d0a59882603509568346 /connectivity/source/drivers/ado/AViews.cxx | |
parent | b1daea610f67814967b85b3f7e6326c3d2ae5b96 (diff) |
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
Diffstat (limited to 'connectivity/source/drivers/ado/AViews.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/AViews.cxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/connectivity/source/drivers/ado/AViews.cxx b/connectivity/source/drivers/ado/AViews.cxx index 1a4aba34408d..c60c5ce1a5a7 100644 --- a/connectivity/source/drivers/ado/AViews.cxx +++ b/connectivity/source/drivers/ado/AViews.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AViews.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2004-10-22 08:43:27 $ + * last change: $Author: vg $ $Date: 2005-03-10 15:24:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -93,7 +93,7 @@ using namespace com::sun::star::beans; 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 @@ void OViews::dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName) 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 >(); -} -// ----------------------------------------------------------------------------- |