summaryrefslogtreecommitdiff
path: root/forms/source/component/Numeric.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Numeric.cxx')
-rw-r--r--forms/source/component/Numeric.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx
index e7fb4955d8ff..23e6e2e160d4 100644
--- a/forms/source/component/Numeric.cxx
+++ b/forms/source/component/Numeric.cxx
@@ -138,7 +138,7 @@ OUString SAL_CALL ONumericModel::getServiceName() throw ( ::com::sun::star::uno:
bool ONumericModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
{
Any aControlValue( m_xAggregateFastSet->getFastPropertyValue( getValuePropertyAggHandle() ) );
- if ( !compare( aControlValue, m_aSaveValue ) )
+ if ( aControlValue != m_aSaveValue )
{
if ( !aControlValue.hasValue() )
m_xColumnUpdate->updateNull();