diff options
Diffstat (limited to 'forms/source/component/Date.cxx')
-rw-r--r-- | forms/source/component/Date.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx index b28531ee73b4..a74e55629295 100644 --- a/forms/source/component/Date.cxx +++ b/forms/source/component/Date.cxx @@ -223,7 +223,7 @@ void ODateModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm ) bool ODateModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) { Any aControlValue( m_xAggregateFastSet->getFastPropertyValue( getValuePropertyAggHandle() ) ); - if ( !compare( aControlValue, m_aSaveValue ) ) + if ( aControlValue != m_aSaveValue ) { if ( !aControlValue.hasValue() ) m_xColumnUpdate->updateNull(); |