diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2015-01-22 11:12:32 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2015-01-22 13:18:54 +0100 |
commit | 4a7089ffdf450ac285060ed4d8354e8c37f3685b (patch) | |
tree | d7fb3639e22812efe2f3b9cc2840ebad52e25946 /dbaccess | |
parent | 900d648f8b91fd742188e4d150cb695c1983bae2 (diff) |
Malarkey, the cache has been positioned by our caller and we do not move it.
Even when called with _bMoved==false, that is when inserting row or when asked to move to the position we are already in.
Change-Id: Icff5a18638f7e850db4678cdf82021f56f135d1f
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSetBase.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx index 3764f3e6b323..edabd9a62725 100644 --- a/dbaccess/source/core/api/RowSetBase.cxx +++ b/dbaccess/source/core/api/RowSetBase.cxx @@ -1043,14 +1043,6 @@ void ORowSetBase::setCurrentRow( bool _bMoved, bool _bDoNotify, const ORowSetRow ORowSetRow rRow = (*m_aCurrentRow); OSL_ENSURE(rRow.is() ,"Invalid size of vector!"); #endif - // the cache could repositioned so we need to adjust the cache - if ( _bMoved && m_aCurrentRow.isNull() ) - { - positionCache( MOVE_NONE_REFRESH_ONLY ); - m_aCurrentRow = m_pCache->m_aMatrixIter; - m_bIsInsertRow = false; - OSL_ENSURE(!m_aCurrentRow.isNull(),"CurrentRow is nul after positionCache!"); - } } else { |