diff options
author | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2010-01-15 07:56:24 +0100 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2010-01-15 07:56:24 +0100 |
commit | 240ac727b0166ef511399cdd6621177c2c279db0 (patch) | |
tree | 1fbc7e274728fee518a690b27494abfce93d6327 | |
parent | bfea11050f33c069192b3c988dd7c7d6ebdce780 (diff) | |
parent | 03a36337afdb951f7912e4b7b9bf8c365b310ccc (diff) |
Automated merge with http://hg.services.openoffice.org/cws/dba33d
-rw-r--r-- | forms/source/component/FormattedField.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index 0edbf781e786..e8c61ecded7e 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -583,7 +583,7 @@ void OFormattedModel::_propertyChanged( const com::sun::star::beans::PropertyCha // as m_aSaveValue (which is used by commitControlValueToDbColumn) is format dependent we have // to recalc it, which is done by translateDbColumnToControlValue - if ( m_xColumn.is() && m_xAggregateFastSet.is() ) + if ( m_xColumn.is() && m_xAggregateFastSet.is() && !m_xCursor->isBeforeFirst() && !m_xCursor->isAfterLast()) { setControlValue( translateDbColumnToControlValue(), eOther ); } |