diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-06-19 14:59:55 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-06-19 15:02:09 +0100 |
commit | 13cb9d9d1ac672d6ef22cee98237b0285e03cda3 (patch) | |
tree | e8e835df238782119393565928378980092c241d /connectivity | |
parent | 15bfc2866d1ccbe3739de1333a6a2722244fae08 (diff) |
misc dead code and cosmetic cleanup.
Diffstat (limited to 'connectivity')
5 files changed, 4 insertions, 8 deletions
diff --git a/connectivity/qa/complex/connectivity/DBaseDriverTest.java b/connectivity/qa/complex/connectivity/DBaseDriverTest.java index ef943d2ce26f..1a5a6c4c5128 100644 --- a/connectivity/qa/complex/connectivity/DBaseDriverTest.java +++ b/connectivity/qa/complex/connectivity/DBaseDriverTest.java @@ -15,6 +15,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + package complex.connectivity; import complex.connectivity.dbase.DBaseDateFunctions; diff --git a/connectivity/qa/complex/connectivity/HsqlDriverTest.java b/connectivity/qa/complex/connectivity/HsqlDriverTest.java index 2b240c285061..9bfbb02b9f4f 100644 --- a/connectivity/qa/complex/connectivity/HsqlDriverTest.java +++ b/connectivity/qa/complex/connectivity/HsqlDriverTest.java @@ -15,6 +15,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + package complex.connectivity; import complex.connectivity.hsqldb.TestCacheSize; diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java index f96fd2877d61..02dad0acdb69 100644 --- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java +++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java @@ -15,6 +15,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + package complex.connectivity; import com.sun.star.beans.PropertyState; diff --git a/connectivity/qa/complex/connectivity/TestCase.java b/connectivity/qa/complex/connectivity/TestCase.java index 5db3495c5362..36c80035a010 100644 --- a/connectivity/qa/complex/connectivity/TestCase.java +++ b/connectivity/qa/complex/connectivity/TestCase.java @@ -15,6 +15,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + package complex.connectivity; import share.LogWriter; diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx index 93685c86fa16..bdfed9f76714 100644 --- a/connectivity/source/drivers/file/FPreparedStatement.cxx +++ b/connectivity/source/drivers/file/FPreparedStatement.cxx @@ -126,7 +126,6 @@ void OPreparedStatement::construct(const ::rtl::OUString& sql) throw(SQLExcepti Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType ) throw(RuntimeException) { - //RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OPreparedStatement::queryInterface" ); Any aRet = OStatement_BASE2::queryInterface(rType); return aRet.hasValue() ? aRet : ::cppu::queryInterface( rType, static_cast< XPreparedStatement*>(this), @@ -136,7 +135,6 @@ Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType ) throw(Runt // ------------------------------------------------------------------------- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL OPreparedStatement::getTypes( ) throw(::com::sun::star::uno::RuntimeException) { - //RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OPreparedStatement::getTypes" ); ::cppu::OTypeCollection aTypes( ::getCppuType( (const ::com::sun::star::uno::Reference< XPreparedStatement > *)0 ), ::getCppuType( (const ::com::sun::star::uno::Reference< XParameters > *)0 ), ::getCppuType( (const ::com::sun::star::uno::Reference< XResultSetMetaDataSupplier > *)0 )); @@ -577,8 +575,6 @@ void OPreparedStatement::initializeResultSet(OResultSet* _pResult) continue; // this AssignValue is no Parameter ++nParaCount; // now the Parameter is valid - // Replace Parameter. If the Parameter isn't available, set value to NULL - // (*m_aAssignValues)[j] = (*m_aParameterRow)[(UINT16)nParameter]; } if (m_aParameterRow.is() && (m_xParamColumns->get().size()+1) != m_aParameterRow->get().size() ) @@ -591,13 +587,9 @@ void OPreparedStatement::initializeResultSet(OResultSet* _pResult) if ( !(m_aParameterRow->get())[i].is() ) (m_aParameterRow->get())[i] = new ORowSetValueDecorator; } - //m_aParameterRow->resize(m_xParamColumns->size()+1); } if (m_aParameterRow.is() && nParaCount < m_aParameterRow->get().size() ) - { - m_pSQLAnalyzer->bindParameterRow(m_aParameterRow); - } } } // ----------------------------------------------------------------------------- |