summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 17:54:00 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:11 +0200
commit160a4dd9a35488786a3cd4aa1c4c1a74997e7b7e (patch)
tree98c1cb448cc2637f3e1671f18e03192b82389c50 /connectivity/source/drivers/ado
parentbf42b6f9f51b4bc66e267ae24c87ac79122825cc (diff)
deleted code that was commented out
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I7a67c3768c0d7e36784ee88fc46680037acb244d
Diffstat (limited to 'connectivity/source/drivers/ado')
-rw-r--r--connectivity/source/drivers/ado/APreparedStatement.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx
index d402d07df8e9..854abca05f4a 100644
--- a/connectivity/source/drivers/ado/APreparedStatement.cxx
+++ b/connectivity/source/drivers/ado/APreparedStatement.cxx
@@ -148,13 +148,8 @@ sal_Bool SAL_CALL OPreparedStatement::execute( ) throw(SQLException, RuntimeExc
checkDisposed(OStatement_BASE::rBHelper.bDisposed);
SQLWarning warning;
-
- // Reset warnings
clearWarnings ();
- // Reset the statement handle, warning and saved Resultset
- // reset();
-
// Call SQLExecute
try {
ADORecordset* pSet=NULL;
@@ -398,7 +393,6 @@ void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any
) );
::dbtools::throwGenericSQLException(sError,*this);
}
- // setObject (parameterIndex, x, sqlType, 0);
}
void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(SQLException, RuntimeException)
@@ -449,14 +443,11 @@ void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, Runtim
CHECK_RETURN(aParam.PutValue(aVal));
}
}
- // m_pParameters->Delete(OLEVariant(i));
}
}
void SAL_CALL OPreparedStatement::clearBatch( ) throw(SQLException, RuntimeException)
{
- // clearParameters( );
- // m_aBatchList.erase();
}
void SAL_CALL OPreparedStatement::addBatch( ) throw(SQLException, RuntimeException)