diff options
-rw-r--r-- | dbaccess/source/core/api/RowSetBase.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx index 3dbd6a0563b7..53be639656c2 100644 --- a/dbaccess/source/core/api/RowSetBase.cxx +++ b/dbaccess/source/core/api/RowSetBase.cxx @@ -1055,6 +1055,12 @@ void ORowSetBase::setCurrentRow( bool _bMoved, bool _bDoNotify, const ORowSetRow ORowSetRow rRow = (*m_aCurrentRow); OSL_ENSURE(rRow.is() ,"Invalid size of vector!"); #endif + + // notification order + // - column values + if ( _bDoNotify ) + firePropertyChange(_rOldValues); + } else { @@ -1064,11 +1070,6 @@ void ORowSetBase::setCurrentRow( bool _bMoved, bool _bDoNotify, const ORowSetRow m_aCurrentRow.setBookmark(m_aBookmark); } - // notification order - // - column values - if ( _bDoNotify ) - firePropertyChange(_rOldValues); - // TODO: can this be done before the notifications? if(!(m_bBeforeFirst || m_bAfterLast) && !m_aCurrentRow.isNull() && m_aCurrentRow->is() && m_aCurrentRow != m_pCache->getEnd()) m_aOldRow->setRow(new ORowSetValueVector( *(*m_aCurrentRow) )); |