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 86effb27a13c..3c3e13b00c9e 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -2068,7 +2068,7 @@ sal_Bool SAL_CALL OBoundControlModel::commit() throw(RuntimeException)
if ( m_xColumnUpdate.is() )
bSuccess = commitControlValueToDbColumn( sal_False );
}
- catch(Exception&)
+ catch(const Exception&)
{
bSuccess = sal_False;
}
@@ -2527,7 +2527,7 @@ void OBoundControlModel::reset() throw (RuntimeException)
bIsNull = m_xColumn->wasNull();
}
- catch(Exception&)
+ catch(const Exception&)
{
OSL_FAIL("OBoundControlModel::reset: this should have succeeded in all cases!");
}