User: vg      
Date: 05/03/10 07:25:58

Modified:
 /dba/connectivity/source/drivers/dbase/
  DTables.cxx

Log:
 INTEGRATION: CWS dba24 (1.21.32); FILE MERGED
 2005/02/09 08:07:42 oj 1.21.32.1: #i26950# remove the need for XNamed

File Changes:

Directory: /dba/connectivity/source/drivers/dbase/
==================================================

File [changed]: DTables.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/dbase/DTables.cxx?r1=1.21&r2=1.22
Delta lines:  +3 -9
-------------------
--- DTables.cxx 22 Oct 2004 08:43:41 -0000      1.21
+++ DTables.cxx 10 Mar 2005 15:25:55 -0000      1.22
@@ -97,6 +97,7 @@
 #endif
 
 using namespace ::comphelper;
+using namespace connectivity;
 using namespace connectivity::dbase;
 using namespace connectivity::file;
 using namespace ::com::sun::star::uno;
@@ -107,13 +108,13 @@
 using namespace ::com::sun::star::container;
 namespace starutil             = ::com::sun::star::util;
 
-Reference< XNamed > ODbaseTables::createObject(const ::rtl::OUString& _rName)
+sdbcx::ObjectType ODbaseTables::createObject(const ::rtl::OUString& _rName)
 {
        ::rtl::OUString aName,aSchema;
        ODbaseTable* pRet = new 
ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection(),
                                                                                
_rName,::rtl::OUString::createFromAscii("TABLE"));
 
-       Reference< XNamed > xRet = pRet;
+       sdbcx::ObjectType xRet = pRet;
        pRet->construct();
        return xRet;
 }
@@ -185,13 +186,6 @@
 {
        typedef sdbcx::OCollection OTables_BASE;
        return OTables_BASE::queryInterface(rType);
-}
-// 
-----------------------------------------------------------------------------
-Reference< XNamed > ODbaseTables::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]

Reply via email to