User: hr      
Date: 06/06/19 19:11:25

Modified:
 /dba/connectivity/source/sdbcx/
  VTable.cxx

Log:
 INTEGRATION: CWS warnings01 (1.18.30); FILE MERGED
 2006/06/14 10:56:25 fs 1.18.30.3: #i66367# reverted previous changes related 
to replacing IdPropertyArrayHelper with PropertyArrayHelper - there's a subtle 
difference between both ids ...
 2005/11/16 12:59:33 fs 1.18.30.2: #i57457# warning free code
 2005/11/07 14:44:17 fs 1.18.30.1: #i57457# warning-free code

File Changes:

Directory: /dba/connectivity/source/sdbcx/
==========================================

File [changed]: VTable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/sdbcx/VTable.cxx?r1=1.18&r2=1.19
Delta lines:  +34 -32
---------------------
--- VTable.cxx  8 Sep 2005 07:44:48 -0000       1.18
+++ VTable.cxx  20 Jun 2006 02:11:23 -0000      1.19
@@ -60,11 +60,14 @@
 #ifndef _CONNECTIVITY_DBTOOLS_HXX_
 #include "connectivity/dbtools.hxx"
 #endif
-
+#ifndef _DBHELPER_DBEXCEPTION_HXX_
+#include <connectivity/dbexception.hxx>
+#endif
 
 // -------------------------------------------------------------------------
-using namespace connectivity;
-using namespace connectivity::sdbcx;
+using namespace ::connectivity;
+using namespace ::connectivity::sdbcx;
+using namespace ::dbtools;
 using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::sdbc;
@@ -120,13 +123,13 @@
                                const ::rtl::OUString& _Description,const 
::rtl::OUString& _SchemaName,
                                const ::rtl::OUString& _CatalogName) :  
OTableDescriptor_BASE(m_aMutex)
                                
,ODescriptor(OTableDescriptor_BASE::rBHelper,_bCase)
-                               ,m_pKeys(NULL)
-                               ,m_pColumns(NULL)
-                               ,m_pIndexes(NULL)
                                ,m_CatalogName(_CatalogName)
                                ,m_SchemaName(_SchemaName)
                                ,m_Description(_Description)
                                ,m_Type(_Type)
+                               ,m_pKeys(NULL)
+                               ,m_pColumns(NULL)
+                               ,m_pIndexes(NULL)
                                ,m_pTables(_pTables)
 {
        m_Name = _Name;
@@ -249,12 +252,9 @@
        return m_pKeys;
 }
 // 
-----------------------------------------------------------------------------
-cppu::IPropertyArrayHelper* OTable::createArrayHelper( sal_Int32 _nId) const
+cppu::IPropertyArrayHelper* OTable::createArrayHelper( sal_Int32 /*_nId*/ ) 
const
 {
-       Sequence< Property > aProps;
-       describeProperties(aProps);
-       changePropertyAttributte(aProps);
-       return new cppu::OPropertyArrayHelper(aProps);
+    return doCreateArrayHelper();
 }
 // -------------------------------------------------------------------------
 cppu::IPropertyArrayHelper & OTable::getInfoHelper()
@@ -318,12 +318,14 @@
 }
 // -------------------------------------------------------------------------
 // XAlterTable
-void SAL_CALL OTable::alterColumnByName( const ::rtl::OUString& colName, const 
Reference< XPropertySet >& descriptor ) throw(SQLException, 
NoSuchElementException, RuntimeException)
+void SAL_CALL OTable::alterColumnByName( const ::rtl::OUString& /*colName*/, 
const Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, 
NoSuchElementException, RuntimeException)
 {
+    throwFeatureNotImplementedException( "XAlterTable::alterColumnByName", 
*this );
 }
 // -------------------------------------------------------------------------
-void SAL_CALL OTable::alterColumnByIndex( sal_Int32 index, const Reference< 
XPropertySet >& descriptor ) throw(SQLException, 
::com::sun::star::lang::IndexOutOfBoundsException, RuntimeException)
+void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const 
Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, 
::com::sun::star::lang::IndexOutOfBoundsException, RuntimeException)
 {
+    throwFeatureNotImplementedException( "XAlterTable::alterColumnByIndex", 
*this );
 }
 // -------------------------------------------------------------------------
 ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > 
SAL_CALL OTable::getPropertySetInfo(  ) 
throw(::com::sun::star::uno::RuntimeException)
@@ -339,7 +341,7 @@
        return m_Name;
 }
 // 
-----------------------------------------------------------------------------
-void SAL_CALL OTable::setName( const ::rtl::OUString& aName ) 
throw(::com::sun::star::uno::RuntimeException)
+void SAL_CALL OTable::setName( const ::rtl::OUString& /*aName*/ ) 
throw(::com::sun::star::uno::RuntimeException)
 {
 }
 // 
-----------------------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to