diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-21 10:33:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-21 10:34:04 +0200 |
commit | fe6c124da752c784c8c9578923a0033a77d3c5b3 (patch) | |
tree | abecf6baf859612cd7255d13588ded9d204da690 /forms/source/component/Currency.cxx | |
parent | 5ff8f80a27b08ed6b3c12e354080c6ea1b90b6ee (diff) |
Remove demonstrated-useless comphelper::compare
Change-Id: Ifd1b38afb963255b76f0d821eb46e4c6a972128a
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r-- | forms/source/component/Currency.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index 28844bc3e05d..469cb6c1e96d 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -187,7 +187,7 @@ OUString SAL_CALL OCurrencyModel::getServiceName() throw ( ::com::sun::star::uno bool OCurrencyModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) { Any aControlValue( m_xAggregateFastSet->getFastPropertyValue( getValuePropertyAggHandle() ) ); - if ( !compare( aControlValue, m_aSaveValue ) ) + if ( aControlValue != m_aSaveValue ) { if ( aControlValue.getValueType().getTypeClass() == TypeClass_VOID ) m_xColumnUpdate->updateNull(); |