Kaydet (Commit) 4a7089ff authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

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
üst 900d648f
...@@ -1043,14 +1043,6 @@ void ORowSetBase::setCurrentRow( bool _bMoved, bool _bDoNotify, const ORowSetRow ...@@ -1043,14 +1043,6 @@ void ORowSetBase::setCurrentRow( bool _bMoved, bool _bDoNotify, const ORowSetRow
ORowSetRow rRow = (*m_aCurrentRow); ORowSetRow rRow = (*m_aCurrentRow);
OSL_ENSURE(rRow.is() ,"Invalid size of vector!"); OSL_ENSURE(rRow.is() ,"Invalid size of vector!");
#endif #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 else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment