summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-01-27 13:51:16 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-01-27 13:51:16 +0100
commit89cdd7feeee68699fb52af5c2345abb4b67ed102 (patch)
tree48ba56307b5b3a60f8176b3f80e79ac4f295e9ef /forms
parent5b0fd0089d84f567049e3c0004dc749ece563ba6 (diff)
parent240ac727b0166ef511399cdd6621177c2c279db0 (diff)
CWS-TOOLING: integrate CWS dba33d
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 );
}