User: hr      
Date: 06/06/19 18:12:02

Modified:
 /dba/connectivity/source/drivers/ado/
  ACallableStatement.cxx

Log:
 INTEGRATION: CWS warnings01 (1.6.30); FILE MERGED
 2005/12/22 11:44:31 fs 1.6.30.1: #i57457# warning-free code

File Changes:

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

File [changed]: ACallableStatement.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/ACallableStatement.cxx?r1=1.6&r2=1.7
Delta lines:  +20 -15
---------------------
--- ACallableStatement.cxx      8 Sep 2005 05:25:53 -0000       1.6
+++ ACallableStatement.cxx      20 Jun 2006 01:12:00 -0000      1.7
@@ -37,6 +37,10 @@
 #include "ado/ACallableStatement.hxx"
 #endif
 
+#ifndef _DBHELPER_DBEXCEPTION_HXX_
+#include <connectivity/dbexception.hxx>
+#endif
+
 using namespace connectivity::ado;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
@@ -128,8 +132,9 @@
 }
 // -------------------------------------------------------------------------
 
-Any SAL_CALL OCallableStatement::getObject( sal_Int32 columnIndex, const 
Reference< ::com::sun::star::container::XNameAccess >& typeMap ) 
throw(SQLException, RuntimeException)
+Any SAL_CALL OCallableStatement::getObject( sal_Int32 /*columnIndex*/, const 
Reference< ::com::sun::star::container::XNameAccess >& /*typeMap*/ ) 
throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getObject", *this );
        return Any();
 }
 // -------------------------------------------------------------------------
@@ -162,7 +167,7 @@
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OCallableStatement::registerOutParameter( sal_Int32 
parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName ) 
throw(SQLException, RuntimeException)
+void SAL_CALL OCallableStatement::registerOutParameter( sal_Int32 
parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& /*typeName*/ ) 
throw(SQLException, RuntimeException)
 {
        ADOParameter* pParam = NULL;
        
m_pParameters->get_Item(OLEVariant(sal_Int32(parameterIndex-1)),&pParam);
@@ -187,42 +192,42 @@
 // -------------------------------------------------------------------------
 
 
-Reference< ::com::sun::star::io::XInputStream > SAL_CALL 
OCallableStatement::getBinaryStream( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< ::com::sun::star::io::XInputStream > SAL_CALL 
OCallableStatement::getBinaryStream( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
-       m_aValue.setNull();
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getBinaryStream", 
*this );
        return NULL;
 }
 // -------------------------------------------------------------------------
-Reference< ::com::sun::star::io::XInputStream > SAL_CALL 
OCallableStatement::getCharacterStream( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< ::com::sun::star::io::XInputStream > SAL_CALL 
OCallableStatement::getCharacterStream( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
-       m_aValue.setNull();
+    ::dbtools::throwFeatureNotImplementedException( 
"XRow::getCharacterStream", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
 
-Reference< XArray > SAL_CALL OCallableStatement::getArray( sal_Int32 
columnIndex ) throw(SQLException, RuntimeException)
+Reference< XArray > SAL_CALL OCallableStatement::getArray( sal_Int32 
/*columnIndex*/ ) throw(SQLException, RuntimeException)
 {
-       m_aValue.setNull();
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getArray", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
 
-Reference< XClob > SAL_CALL OCallableStatement::getClob( sal_Int32 columnIndex 
) throw(SQLException, RuntimeException)
+Reference< XClob > SAL_CALL OCallableStatement::getClob( sal_Int32 
/*columnIndex*/ ) throw(SQLException, RuntimeException)
 {
-       m_aValue.setNull();
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getClob", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
-Reference< XBlob > SAL_CALL OCallableStatement::getBlob( sal_Int32 columnIndex 
) throw(SQLException, RuntimeException)
+Reference< XBlob > SAL_CALL OCallableStatement::getBlob( sal_Int32 
/*columnIndex*/ ) throw(SQLException, RuntimeException)
 {
-       m_aValue.setNull();
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getBlob", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
 
-Reference< XRef > SAL_CALL OCallableStatement::getRef( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< XRef > SAL_CALL OCallableStatement::getRef( sal_Int32 
/*columnIndex*/) throw(SQLException, RuntimeException)
 {
-       m_aValue.setNull();
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getRef", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------




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

Reply via email to