summaryrefslogtreecommitdiff
path: root/forms/source/component/Numeric.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-11 18:51:50 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-12 10:05:25 +0900
commit75b835c8cd2953c5bc0f23df300ee553f94eb28d (patch)
tree753bf89fdc56cd3df9842adc7962b0965090cf44 /forms/source/component/Numeric.cxx
parentf00172b81c8bab0b1c62cbca1bc14b83deed8806 (diff)
catch exception by constant reference
Diffstat (limited to 'forms/source/component/Numeric.cxx')
-rw-r--r--forms/source/component/Numeric.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx
index d96a2a8907aa..7fa0bf8e17f9 100644
--- a/forms/source/component/Numeric.cxx
+++ b/forms/source/component/Numeric.cxx
@@ -178,7 +178,7 @@ sal_Bool ONumericModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
{
m_xColumnUpdate->updateDouble( getDouble( aControlValue ) );
}
- catch(Exception&)
+ catch(const Exception&)
{
return sal_False;
}