From 393b14fddd7b328a6e2af78c0c351447ccb0ba6a Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 17 Apr 2012 22:08:56 +0200 Subject: Remove some unused methods --- connectivity/source/drivers/mozab/MResultSet.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'connectivity/source/drivers/mozab/MResultSet.cxx') diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx index ed92e4212b7a..6e1cdbe4a9a3 100644 --- a/connectivity/source/drivers/mozab/MResultSet.cxx +++ b/connectivity/source/drivers/mozab/MResultSet.cxx @@ -717,16 +717,6 @@ void SAL_CALL OResultSet::release() throw() { return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); } -// ----------------------------------------------------------------------------- -void OResultSet::initializeRow(OValueRow& _rRow,sal_Int32 _nColumnCount) -{ - if(!_rRow.is()) - { - _rRow = new OValueVector(_nColumnCount); - (_rRow->get())[0].setBound(sal_True); - ::std::for_each(_rRow->get().begin()+1,_rRow->get().end(),TSetBound(sal_False)); - } -} // ------------------------------------------------------------------------- void OResultSet::parseParameter( const OSQLParseNode* pNode, rtl::OUString& rMatchString ) @@ -1205,10 +1195,6 @@ void SAL_CALL OResultSet::executeQuery() throw( ::com::sun::star::sdbc::SQLExcep OSL_ENSURE(m_xColumns.is(), "Need the Columns!!"); - // sal_Int32 nColumnCount = m_xColumns->size(); - // initializeRow(m_aRow,nColumnCount); - // initializeRow(m_aEvaluateRow,nColumnCount); - switch( m_pSQLIterator->getStatementType() ) { case SQL_STATEMENT_SELECT: -- cgit