summaryrefslogtreecommitdiffstats
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
parentvcl109: #i108553# add forgotten export statement (diff)
parent#i10000# reenabled missing include (diff)
downloadcore-e645ebac252928d38d0694cbc6bbf8fd8b9bfb88.tar.gz
core-e645ebac252928d38d0694cbc6bbf8fd8b9bfb88.zip
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 );
}