summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-19 14:02:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-20 08:42:30 +0200
commit6c5fdc30851f261ad8f70cb23ead82c4cbe46bb8 (patch)
treec37178858063af1a6dd6f372ef31158bfca6d44b /connectivity
parent0c9f104390032d99517e9bd1e16333fcc5fa472f (diff)
unused m_nFetchSize in OResultSet
since initial commit 77e4adbe4759f21f6cf095d954391a9ddbbec2cf Date: Mon Sep 17 22:50:49 2012 +0200 mork driver implementation Change-Id: I226c4065a5ab4404cc9e99eb3e026d153d1ccf08
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MResultSet.cxx3
-rw-r--r--connectivity/source/drivers/mork/MResultSet.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx
index b3bf3b790fc4..c510fff3255f 100644
--- a/connectivity/source/drivers/mork/MResultSet.cxx
+++ b/connectivity/source/drivers/mork/MResultSet.cxx
@@ -71,7 +71,6 @@ OResultSet::OResultSet(OCommonStatement* pStmt, const std::shared_ptr< connectiv
,m_xMetaData(nullptr)
,m_nRowPos(0)
,m_bWasNull(false)
- ,m_nFetchSize(0)
,m_nResultSetType(ResultSetType::SCROLL_INSENSITIVE)
,m_nFetchDirection(FetchDirection::FORWARD)
,m_pSQLIterator( _pSQLIterator )
@@ -607,7 +606,7 @@ void OResultSet::getFastPropertyValue(
rValue <<= m_nFetchDirection;
break;
case PROPERTY_ID_FETCHSIZE:
- rValue <<= m_nFetchSize;
+ rValue <<= (sal_Int32)0;
break;
case PROPERTY_ID_ISBOOKMARKABLE:
const_cast< OResultSet* >( this )->determineReadOnly();
diff --git a/connectivity/source/drivers/mork/MResultSet.hxx b/connectivity/source/drivers/mork/MResultSet.hxx
index febe6a0a4bf7..1a3c8f9d7598 100644
--- a/connectivity/source/drivers/mork/MResultSet.hxx
+++ b/connectivity/source/drivers/mork/MResultSet.hxx
@@ -79,7 +79,6 @@ namespace connectivity
css::uno::Reference< css::sdbc::XResultSetMetaData> m_xMetaData;
sal_uInt32 m_nRowPos;
bool m_bWasNull;
- sal_Int32 m_nFetchSize;
sal_Int32 m_nResultSetType;
sal_Int32 m_nFetchDirection;