User: vg Date: 05/03/10 08:30:13 Modified: /dba/dbaccess/source/core/api/ HelperCollections.cxx
Log: INTEGRATION: CWS dba24 (1.2.162); FILE MERGED 2005/02/09 08:12:58 oj 1.2.162.1: #i26950# remove the need for XNamed File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: HelperCollections.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/HelperCollections.cxx?r1=1.2&r2=1.3 Delta lines: +7 -7 ------------------- --- HelperCollections.cxx 16 Dec 2003 12:39:23 -0000 1.2 +++ HelperCollections.cxx 10 Mar 2005 16:30:10 -0000 1.3 @@ -98,7 +98,7 @@ OPrivateColumns_Base::disposing(); } // ------------------------------------------------------------------------- - Reference< XNamed > OPrivateColumns::createObject(const ::rtl::OUString& _rName) + connectivity::sdbcx::ObjectType OPrivateColumns::createObject(const ::rtl::OUString& _rName) { if ( m_aColumns.isValid() ) { @@ -107,21 +107,21 @@ aIter = findRealName(m_aColumns->begin(),m_aColumns->end(),_rName,isCaseSensitive()); if(aIter != m_aColumns->end()) - return Reference< XNamed >(*aIter,UNO_QUERY); + return connectivity::sdbcx::ObjectType(*aIter,UNO_QUERY); OSL_ENSURE(0,"Column not found in collection!"); } return NULL; } // ------------------------------------------------------------------------- - Reference< XNamed > OPrivateTables::createObject(const ::rtl::OUString& _rName) + connectivity::sdbcx::ObjectType OPrivateTables::createObject(const ::rtl::OUString& _rName) { if ( !m_aTables.empty() ) { OSQLTables::iterator aIter = m_aTables.find(_rName); OSL_ENSURE(aIter != m_aTables.end(),"Table not found!"); OSL_ENSURE(aIter->second.is(),"Table is null!"); - return Reference< XNamed >(m_aTables.find(_rName)->second,UNO_QUERY); + return connectivity::sdbcx::ObjectType(m_aTables.find(_rName)->second,UNO_QUERY); } return NULL; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
