diff options
author | sb <sb@openoffice.org> | 2010-02-08 09:18:14 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-02-08 09:18:14 +0100 |
commit | 4f51ab82ffc7b1fff96e8f4272493f797f82a5f1 (patch) | |
tree | 6f3f44f2891a6235c9d2f12b54634a7d3644ba5c /forms | |
parent | 27bb69577e35656e3ad2cf602bee266b0354aaad (diff) | |
parent | 055bc5c7f48cd556d256dedc32671f60ad30ccf4 (diff) |
sb118: merged in DEV300_m71
Diffstat (limited to 'forms')
-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 3add838333b9..77a108f300f9 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 ); } |