Tag: cws_src680_mingwport2 User: vg Date: 2006/07/12 07:28:36 Modified: dba/connectivity/source/drivers/ado/ACallableStatement.cxx
Log: RESYNC: (1.6-1.7); FILE MERGED 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.22.1&r2=1.6.22.2 Delta lines: +23 -18 --------------------- --- ACallableStatement.cxx 12 Jul 2006 10:37:58 -0000 1.6.22.1 +++ ACallableStatement.cxx 12 Jul 2006 14:28:34 -0000 1.6.22.2 @@ -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]
