summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mozab
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-04-17 22:08:56 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-04-17 22:09:27 +0200
commit393b14fddd7b328a6e2af78c0c351447ccb0ba6a (patch)
tree9585f11c8138d17ab144519d1fc3ac1c5618acb6 /connectivity/source/drivers/mozab
parent8ae293f0a1509b26f9a65f9297fddca7b106e46e (diff)
Remove some unused methods
Diffstat (limited to 'connectivity/source/drivers/mozab')
-rw-r--r--connectivity/source/drivers/mozab/MResultSet.cxx14
-rw-r--r--connectivity/source/drivers/mozab/MResultSet.hxx1
2 files changed, 0 insertions, 15 deletions
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:
diff --git a/connectivity/source/drivers/mozab/MResultSet.hxx b/connectivity/source/drivers/mozab/MResultSet.hxx
index 47e9ad13d276..2559b7fb7cf3 100644
--- a/connectivity/source/drivers/mozab/MResultSet.hxx
+++ b/connectivity/source/drivers/mozab/MResultSet.hxx
@@ -258,7 +258,6 @@ protected:
void parseParameter( const OSQLParseNode* pNode, rtl::OUString& rMatchString );
void fillRowData() throw( ::com::sun::star::sdbc::SQLException );
- void initializeRow(OValueRow& _rRow,sal_Int32 _nColumnCount);
void analyseWhereClause( const OSQLParseNode* parseTree,
MQueryExpression &queryExpression);