summaryrefslogtreecommitdiffstats
path: root/forms/source/component/Numeric.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-06 12:37:38 +0200
committerNoel Grandin <noel@peralex.com>2014-05-06 12:38:16 +0200
commitc0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e (patch)
tree617f52ca3be4d2c2f6b5b21fc4ed9a3a8dd1fe77 /forms/source/component/Numeric.cxx
parentImplSVEvent::mnEvent is always zero (diff)
downloadcore-c0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e.tar.gz
core-c0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e.zip
forms: sal_Bool->bool
Change-Id: Ifa15f4ed3107b1075b504f09d2cae69ee38d347a
Diffstat (limited to 'forms/source/component/Numeric.cxx')
-rw-r--r--forms/source/component/Numeric.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx
index af42655720d2..942e525afc71 100644
--- a/forms/source/component/Numeric.cxx
+++ b/forms/source/component/Numeric.cxx
@@ -90,7 +90,7 @@ Sequence<Type> ONumericModel::_getTypes()
ONumericModel::ONumericModel(const Reference<XComponentContext>& _rxFactory)
- :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_NUMERICFIELD, FRM_SUN_CONTROL_NUMERICFIELD, sal_True, sal_True )
+ :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_NUMERICFIELD, FRM_SUN_CONTROL_NUMERICFIELD, true, true )
// use the old control name for compytibility reasons
{
@@ -153,7 +153,7 @@ OUString SAL_CALL ONumericModel::getServiceName() throw ( ::com::sun::star::uno:
}
-sal_Bool ONumericModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
+bool ONumericModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
{
Any aControlValue( m_xAggregateFastSet->getFastPropertyValue( getValuePropertyAggHandle() ) );
if ( !compare( aControlValue, m_aSaveValue ) )
@@ -168,12 +168,12 @@ sal_Bool ONumericModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
}
catch(const Exception&)
{
- return sal_False;
+ return false;
}
}
m_aSaveValue = aControlValue;
}
- return sal_True;
+ return true;
}