summaryrefslogtreecommitdiff
path: root/dbaccess/source/core
diff options
context:
space:
mode:
authorOcke.Janssen <Ocke.Janssen@oracle.com>2010-11-26 08:29:58 +0100
committerOcke.Janssen <Ocke.Janssen@oracle.com>2010-11-26 08:29:58 +0100
commit18e4e629073f8cabdc5dd116ced4683c7ae65dbe (patch)
treec357cecf9fbd18b98875b18a51732a851952cc33 /dbaccess/source/core
parent7fb8648fbc83d264b31f35573069dea3392afdc3 (diff)
dba34b: #i109956# notify column values when row is refreshed
Diffstat (limited to 'dbaccess/source/core')
-rw-r--r--dbaccess/source/core/api/RowSetBase.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index e19dd8371..5afc502c0 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -1198,8 +1198,11 @@ void SAL_CALL ORowSetBase::refreshRow( ) throw(SQLException, RuntimeException)
if(!(m_bBeforeFirst || m_bAfterLast))
{
+ sal_Bool bWasNew = m_pCache->m_bNew || impl_rowDeleted();
+ ORowSetRow aOldValues = getOldRow(bWasNew);
positionCache( MOVE_NONE_REFRESH_ONLY );
m_pCache->refreshRow();
+ firePropertyChange(aOldValues);
}
}
// -------------------------------------------------------------------------