diff options
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r-- | forms/source/component/Currency.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index 6589564e9a09..180c98556abe 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -133,7 +133,7 @@ void OCurrencyModel::implConstruct() m_xAggregateSet->setPropertyValue(PROPERTY_CURRSYM_POSITION, makeAny(bPrependCurrencySymbol)); } } - catch(Exception&) + catch(const Exception&) { OSL_FAIL( "OCurrencyModel::implConstruct: caught an exception while initializing the aggregate!" ); } @@ -224,7 +224,7 @@ sal_Bool OCurrencyModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) { m_xColumnUpdate->updateDouble( getDouble( aControlValue ) ); } - catch(Exception&) + catch(const Exception&) { return sal_False; } |