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

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

Log:
 INTEGRATION: CWS warnings01 (1.19.30); FILE MERGED
 2006/01/25 20:48:27 sb 1.19.30.3: RESYNC: (1.19-1.20); FILE MERGED
 2005/12/22 11:44:36 fs 1.19.30.2: #i57457# warning-free code
 2005/11/16 12:58:52 fs 1.19.30.1: #i57457# warning free code

File Changes:

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

File [changed]: AResultSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AResultSet.cxx?r1=1.20&r2=1.21
Delta lines:  +90 -82
---------------------
--- AResultSet.cxx      21 Dec 2005 13:15:25 -0000      1.20
+++ AResultSet.cxx      20 Jun 2006 01:14:53 -0000      1.21
@@ -254,8 +254,9 @@
        return m_aValue.isNull() ? NULL : new 
::comphelper::SequenceInputStream(m_aValue);
 }
 // -------------------------------------------------------------------------
-Reference< ::com::sun::star::io::XInputStream > SAL_CALL 
OResultSet::getCharacterStream( sal_Int32 columnIndex ) throw(SQLException, 
RuntimeException)
+Reference< ::com::sun::star::io::XInputStream > SAL_CALL 
OResultSet::getCharacterStream( sal_Int32 /*columnIndex*/ ) throw(SQLException, 
RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( 
"XRow::getCharacterStream", *this );
        return NULL;
 }
 // 
-----------------------------------------------------------------------------
@@ -324,8 +325,9 @@
 }
 // -------------------------------------------------------------------------
 
-sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getLong", *this );
        return sal_Int64(0);
 }
 // -------------------------------------------------------------------------
@@ -341,33 +343,38 @@
        return m_xMetaData;
 }
 // -------------------------------------------------------------------------
-Reference< XArray > SAL_CALL OResultSet::getArray( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< XArray > SAL_CALL OResultSet::getArray( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getArray", *this );
        return NULL;
 }
 
 // -------------------------------------------------------------------------
 
-Reference< XClob > SAL_CALL OResultSet::getClob( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< XClob > SAL_CALL OResultSet::getClob( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getClob", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
-Reference< XBlob > SAL_CALL OResultSet::getBlob( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< XBlob > SAL_CALL OResultSet::getBlob( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getBlob", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
 
-Reference< XRef > SAL_CALL OResultSet::getRef( sal_Int32 columnIndex ) 
throw(SQLException, RuntimeException)
+Reference< XRef > SAL_CALL OResultSet::getRef( sal_Int32 /*columnIndex*/ ) 
throw(SQLException, RuntimeException)
 {
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getRef", *this );
        return NULL;
 }
 // -------------------------------------------------------------------------
 
-Any SAL_CALL OResultSet::getObject( sal_Int32 columnIndex, const Reference< 
::com::sun::star::container::XNameAccess >& typeMap ) throw(SQLException, 
RuntimeException)
+Any SAL_CALL OResultSet::getObject( sal_Int32 /*columnIndex*/, const 
Reference< ::com::sun::star::container::XNameAccess >& /*typeMap*/ ) 
throw(SQLException, RuntimeException)
 {
        
+    ::dbtools::throwFeatureNotImplementedException( "XRow::getObject", *this );
        return Any();
 }
 // -------------------------------------------------------------------------
@@ -504,7 +511,8 @@
        sal_Bool bCheck = sal_True;
        if(row < 0)
        {
-               if(bCheck = SUCCEEDED(m_pRecordSet->MoveLast()))
+        bCheck = SUCCEEDED(m_pRecordSet->MoveLast());
+               if ( bCheck )
                {
                        while(++row < 0 && bCheck)
                                bCheck = 
SUCCEEDED(m_pRecordSet->MovePrevious());
@@ -815,14 +823,14 @@
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OResultSet::updateBinaryStream( sal_Int32 columnIndex, const 
Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) 
throw(SQLException, RuntimeException)
+void SAL_CALL OResultSet::updateBinaryStream( sal_Int32 /*columnIndex*/, const 
Reference< ::com::sun::star::io::XInputStream >& /*x*/, sal_Int32 /*length*/ ) 
throw(SQLException, RuntimeException)
 {
-       
+    ::dbtools::throwFeatureNotImplementedException( 
"XRowUpdate::updateBinaryStream", *this );
 }
 // -------------------------------------------------------------------------
-void SAL_CALL OResultSet::updateCharacterStream( sal_Int32 columnIndex, const 
Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) 
throw(SQLException, RuntimeException)
+void SAL_CALL OResultSet::updateCharacterStream( sal_Int32 /*columnIndex*/, 
const Reference< ::com::sun::star::io::XInputStream >& /*x*/, sal_Int32 
/*length*/ ) throw(SQLException, RuntimeException)
 {
-       
+    ::dbtools::throwFeatureNotImplementedException( 
"XRowUpdate::updateCharacterStream", *this );
 }
 // -------------------------------------------------------------------------
 void SAL_CALL OResultSet::refreshRow(  ) throw(SQLException, RuntimeException)
@@ -841,7 +849,7 @@
 }
 // -------------------------------------------------------------------------
 
-void SAL_CALL OResultSet::updateNumericObject( sal_Int32 columnIndex, const 
Any& x, sal_Int32 scale ) throw(SQLException, RuntimeException)
+void SAL_CALL OResultSet::updateNumericObject( sal_Int32 columnIndex, const 
Any& x, sal_Int32 /*scale*/ ) throw(SQLException, RuntimeException)
 {
        if (!::dbtools::implUpdateObject(this, columnIndex, x))
                throw SQLException();
@@ -898,7 +906,6 @@
        ::osl::MutexGuard aGuard( m_aMutex );
        checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
                
-
        sal_Int32 nPos1;
        first >>= nPos1;
        sal_Int32 nPos2;
@@ -1060,8 +1067,9 @@
 }
 
 
//------------------------------------------------------------------------------
-void OResultSet::setFetchDirection(sal_Int32 _par0) 
+void OResultSet::setFetchDirection(sal_Int32 /*_par0*/)
 {
+    ::dbtools::throwFeatureNotImplementedException( 
"ResultSet::FetchDirection", *this );
 }
 
//------------------------------------------------------------------------------
 void OResultSet::setFetchSize(sal_Int32 _par0) 




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

Reply via email to