User: hr      
Date: 06/06/19 18:11:40

Modified:
 /dba/connectivity/source/drivers/adabas/
  BViews.cxx

Log:
 INTEGRATION: CWS warnings01 (1.16.30); FILE MERGED
 2005/11/07 14:43:04 fs 1.16.30.1: #i57457# warning-free code

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&r2=1.17
Delta lines:  +3 -9
-------------------
--- BViews.cxx  8 Sep 2005 05:25:10 -0000       1.16
+++ BViews.cxx  20 Jun 2006 01:11:38 -0000      1.17
@@ -171,14 +171,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]

Reply via email to