User: hr      
Date: 06/06/19 18:55:47

Modified:
 /dba/connectivity/source/drivers/odbc/
  OPreparedStatement.cxx

Log:
 INTEGRATION: CWS warnings01 (1.40.30); FILE MERGED
 2005/12/22 11:44:56 fs 1.40.30.2: #i57457# warning-free code
 2005/11/16 12:59:20 fs 1.40.30.1: #i57457# warning free code

File Changes:

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

File [changed]: OPreparedStatement.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/odbc/OPreparedStatement.cxx?r1=1.40&r2=1.41
Delta lines:  +10 -9
--------------------
--- OPreparedStatement.cxx      8 Sep 2005 06:34:38 -0000       1.40
+++ OPreparedStatement.cxx      20 Jun 2006 01:55:45 -0000      1.41
@@ -65,9 +65,6 @@
 #ifndef _COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HPP_
 #include <com/sun/star/lang/DisposedException.hpp>
 #endif
-#ifndef _DBHELPER_DBEXCEPTION_HXX_
-#include "connectivity/dbexception.hxx"
-#endif
 #ifndef _CONNECTIVITY_DBTOOLS_HXX_
 #include "connectivity/dbtools.hxx"
 #endif
@@ -506,7 +503,7 @@
        SQLSMALLINT nDecimalDigits = 0;
        OTools::getBindTypes(   sal_False,
                                                        
m_pConnection->useOldDateFormat(),
-                                                       sqlType,
+                            (SQLSMALLINT)sqlType,
                                                        fCType,
                                                        fSqlType);
 
@@ -525,23 +522,27 @@
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const 
Reference< XClob >& x ) throw(SQLException, RuntimeException)
+void SAL_CALL OPreparedStatement::setClob( sal_Int32 /*parameterIndex*/, const 
Reference< XClob >& /*x*/ ) throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFunctionNotSupportedException( "XParameters::setClob", 
*this );
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OPreparedStatement::setBlob( sal_Int32 parameterIndex, const 
Reference< XBlob >& x ) throw(SQLException, RuntimeException)
+void SAL_CALL OPreparedStatement::setBlob( sal_Int32 /*parameterIndex*/, const 
Reference< XBlob >& /*x*/ ) throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFunctionNotSupportedException( "XParameters::setBlob", 
*this );
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OPreparedStatement::setArray( sal_Int32 parameterIndex, const 
Reference< XArray >& x ) throw(SQLException, RuntimeException)
+void SAL_CALL OPreparedStatement::setArray( sal_Int32 /*parameterIndex*/, 
const Reference< XArray >& /*x*/ ) throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFunctionNotSupportedException( "XParameters::setArray", 
*this );
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OPreparedStatement::setRef( sal_Int32 parameterIndex, const 
Reference< XRef >& x ) throw(SQLException, RuntimeException)
+void SAL_CALL OPreparedStatement::setRef( sal_Int32 /*parameterIndex*/, const 
Reference< XRef >& /*x*/ ) throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFunctionNotSupportedException( "XParameters::setRef", 
*this );
 }
 // -------------------------------------------------------------------------
 
@@ -574,7 +575,7 @@
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, 
sal_Int32 sqlType, const ::rtl::OUString& typeName ) throw(SQLException, 
RuntimeException)
+void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, 
sal_Int32 sqlType, const ::rtl::OUString& /*typeName*/ ) throw(SQLException, 
RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
        checkDisposed(OStatement_BASE::rBHelper.bDisposed);




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

Reply via email to