diff options
Diffstat (limited to 'forms/source/component/Time.cxx')
-rw-r--r-- | forms/source/component/Time.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx index 400fac803dd5..11865d422f0b 100644 --- a/forms/source/component/Time.cxx +++ b/forms/source/component/Time.cxx @@ -233,7 +233,7 @@ void OTimeModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm ) xField->getPropertyValue(PROPERTY_FIELDTYPE) >>= nFieldType; m_bDateTimeField = (nFieldType == DataType::TIMESTAMP); } - catch(Exception&) + catch(const Exception&) { } } @@ -271,7 +271,7 @@ sal_Bool OTimeModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) m_xColumnUpdate->updateTimestamp(aDateTime); } } - catch(Exception&) + catch(const Exception&) { return sal_False; } |