From 160a4dd9a35488786a3cd4aa1c4c1a74997e7b7e Mon Sep 17 00:00:00 2001 From: Philipp Riemer Date: Sat, 31 Aug 2013 17:54:00 +0200 Subject: deleted code that was commented out This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I7a67c3768c0d7e36784ee88fc46680037acb244d --- connectivity/source/commontools/dbtools.cxx | 3 --- connectivity/source/drivers/ado/APreparedStatement.cxx | 9 --------- 2 files changed, 12 deletions(-) (limited to 'connectivity/source') 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) -- cgit