summaryrefslogtreecommitdiff
path: root/forms/source/component/FormComponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r--forms/source/component/FormComponent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 1dc2937527ac..996c0fcd5620 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -2057,7 +2057,7 @@ sal_Bool SAL_CALL OBoundControlModel::commit() throw(RuntimeException)
try
{
if ( m_xColumnUpdate.is() )
- bSuccess = commitControlValueToDbColumn( sal_False );
+ bSuccess = commitControlValueToDbColumn( false );
}
catch(const Exception&)
{
@@ -2537,7 +2537,7 @@ void OBoundControlModel::reset() throw (RuntimeException)
// reset the control to it's default
resetNoBroadcast();
// and immediately commit the changes to the DB column, to keep consistency
- commitControlValueToDbColumn( sal_True );
+ commitControlValueToDbColumn( true );
bNeedValueTransfer = sal_False;
}