summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-02-03 15:34:13 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-02-03 15:34:13 +0100
commite645ebac252928d38d0694cbc6bbf8fd8b9bfb88 (patch)
tree2a547dc514f3d9e81472049bacc68b252eb79405 /forms
parentf6e4f736a63512f8dd9aff517fb12b05fb98f55e (diff)
parent055bc5c7f48cd556d256dedc32671f60ad30ccf4 (diff)
merge with DEV300_m71
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/FormattedField.cxx2
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 );
}