From 6d993bc5b448241c2cb35eff92e126058ccf1ce1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Jan 2014 20:02:19 +0100 Subject: bool improvements Change-Id: I78099f87510355a43ba9b01ca9d545d44ce11a50 --- forms/source/component/FormComponent.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forms/source/component/FormComponent.cxx') 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; } -- cgit