Tag: cws_src680_qiq User: fs Date: 2006/06/27 07:05:52 Modified: dba/connectivity/source/drivers/adabas/BViews.cxx
Log: RESYNC: (1.16-1.17); FILE MERGED File Changes: Directory: /dba/connectivity/source/drivers/adabas/ =================================================== File [changed]: BViews.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/adabas/BViews.cxx?r1=1.16.104.1&r2=1.16.104.2 Delta lines: +6 -12 -------------------- --- BViews.cxx 16 Jun 2006 11:32:31 -0000 1.16.104.1 +++ BViews.cxx 27 Jun 2006 14:05:49 -0000 1.16.104.2 @@ -168,14 +168,8 @@ if(m_bInDrop) return; - Reference< ::com::sun::star::lang::XUnoTunnel> xTunnel(getObject(_nPos),UNO_QUERY); - sal_Bool bIsNew = sal_False; - if(xTunnel.is()) - { - connectivity::sdbcx::ODescriptor* pTable = (connectivity::sdbcx::ODescriptor*)xTunnel->getSomething(connectivity::sdbcx::ODescriptor::getUnoTunnelImplementationId()); - if(pTable) - bIsNew = pTable->isNew(); - } + Reference< XInterface > xObject( getObject( _nPos ) ); + sal_Bool bIsNew = connectivity::sdbcx::ODescriptor::isNew( xObject ); if (!bIsNew) { OAdabasConnection* pConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
