summaryrefslogtreecommitdiff
path: root/forms/source/component/FormComponent.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:02:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:28 +0100
commit6d993bc5b448241c2cb35eff92e126058ccf1ce1 (patch)
tree4b207a686bb001d80ae90691798cab713a933da4 /forms/source/component/FormComponent.cxx
parent78ddd6090ca7637320a875da715c96a9dfe7358d (diff)
bool improvements
Change-Id: I78099f87510355a43ba9b01ca9d545d44ce11a50
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;
}