diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-06 12:37:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-06 12:38:16 +0200 |
commit | c0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e (patch) | |
tree | 617f52ca3be4d2c2f6b5b21fc4ed9a3a8dd1fe77 /forms/source/component/Time.cxx | |
parent | ae92e6e6d5dec81c2e22a51a89f463cae1ac1edb (diff) |
forms: sal_Bool->bool
Change-Id: Ifa15f4ed3107b1075b504f09d2cae69ee38d347a
Diffstat (limited to 'forms/source/component/Time.cxx')
-rw-r--r-- | forms/source/component/Time.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx index a37559fdb130..36f5e7c64ca3 100644 --- a/forms/source/component/Time.cxx +++ b/forms/source/component/Time.cxx @@ -123,7 +123,7 @@ Sequence<Type> OTimeModel::_getTypes() OTimeModel::OTimeModel(const Reference<XComponentContext>& _rxFactory) : OEditBaseModel(_rxFactory, VCL_CONTROLMODEL_TIMEFIELD, - FRM_SUN_CONTROL_TIMEFIELD, sal_True, sal_True) + FRM_SUN_CONTROL_TIMEFIELD, true, true) // use the old control name for compatibility reasons , OLimitedFormats(_rxFactory, FormComponentType::TIMEFIELD) , m_bDateTimeField(false) @@ -215,7 +215,7 @@ void OTimeModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm ) Reference<XPropertySet> xField = getField(); if (xField.is()) { - m_bDateTimeField = sal_False; + m_bDateTimeField = false; try { sal_Int32 nFieldType = 0; @@ -229,7 +229,7 @@ void OTimeModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm ) } -sal_Bool OTimeModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) +bool OTimeModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) { Any aControlValue( m_xAggregateFastSet->getFastPropertyValue( getValuePropertyAggHandle() ) ); if ( !compare( aControlValue, m_aSaveValue ) ) @@ -262,12 +262,12 @@ sal_Bool OTimeModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) } catch(const Exception&) { - return sal_False; + return false; } } m_aSaveValue = aControlValue; } - return sal_True; + return true; } |