diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-08-31 17:54:00 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2013-08-31 22:41:11 +0200 |
commit | 160a4dd9a35488786a3cd4aa1c4c1a74997e7b7e (patch) | |
tree | 98c1cb448cc2637f3e1671f18e03192b82389c50 /connectivity | |
parent | bf42b6f9f51b4bc66e267ae24c87ac79122825cc (diff) |
deleted code that was commented out
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I7a67c3768c0d7e36784ee88fc46680037acb244d
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/APreparedStatement.cxx | 9 |
2 files changed, 0 insertions, 12 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index b5fc41d193a6..8d295f84a833 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -2017,9 +2017,6 @@ void release(oslInterlockedCount& _refCount, ::osl::MutexGuard aGuard( rBHelper.rMutex ); _xInterface = xParent; } - -// // destroy the object if xHoldAlive decrement the refcount to 0 -// m_pDerivedImplementation->WEAK::release(); } } else 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) |