summaryrefslogtreecommitdiffstats
path: root/forms/source/component/CheckBox.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/CheckBox.cxx
parentfix automatic download of dlls on windows (diff)
downloadcore-75b835c8cd2953c5bc0f23df300ee553f94eb28d.tar.gz
core-75b835c8cd2953c5bc0f23df300ee553f94eb28d.zip
catch exception by constant reference
Diffstat (limited to 'forms/source/component/CheckBox.cxx')
-rw-r--r--forms/source/component/CheckBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx
index 989a4cbd9870..b0dd35f947d4 100644
--- a/forms/source/component/CheckBox.cxx
+++ b/forms/source/component/CheckBox.cxx
@@ -258,7 +258,7 @@ sal_Bool OCheckBoxModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
OSL_FAIL("OCheckBoxModel::commitControlValueToDbColumn: invalid value !");
}
}
- catch(Exception&)
+ catch(const Exception&)
{
OSL_FAIL("OCheckBoxModel::commitControlValueToDbColumn: could not commit !");
}