User: vg Date: 05/03/10 07:32:12 Modified: /dba/connectivity/source/drivers/mysql/ YViews.cxx
Log: INTEGRATION: CWS dba24 (1.4.32); FILE MERGED 2005/02/09 08:07:48 oj 1.4.32.1: #i26950# remove the need for XNamed File Changes: Directory: /dba/connectivity/source/drivers/mysql/ ================================================== File [changed]: YViews.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mysql/YViews.cxx?r1=1.4&r2=1.5 Delta lines: +2 -8 ------------------- --- YViews.cxx 22 Oct 2004 08:44:37 -0000 1.4 +++ YViews.cxx 10 Mar 2005 15:32:08 -0000 1.5 @@ -111,6 +111,7 @@ using namespace ::comphelper; using namespace ::cppu; +using namespace connectivity; using namespace connectivity::mysql; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; @@ -121,7 +122,7 @@ using namespace dbtools; typedef connectivity::sdbcx::OCollection OCollection_TYPE; -Reference< XNamed > OViews::createObject(const ::rtl::OUString& _rName) +sdbcx::ObjectType OViews::createObject(const ::rtl::OUString& _rName) { ::rtl::OUString sCatalog,sSchema,sTable; ::dbtools::qualifiedNameComponents(m_xMetaData, @@ -241,13 +242,6 @@ OInterfaceIteratorHelper aListenerLoop(m_aContainerListeners); while (aListenerLoop.hasMoreElements()) static_cast<XContainerListener*>(aListenerLoop.next())->elementInserted(aEvent); -} -// ----------------------------------------------------------------------------- -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]
