diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-11 18:51:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-12 10:05:25 +0900 |
commit | 75b835c8cd2953c5bc0f23df300ee553f94eb28d (patch) | |
tree | 753bf89fdc56cd3df9842adc7962b0965090cf44 /forms/source/component/CheckBox.cxx | |
parent | fix automatic download of dlls on windows (diff) | |
download | core-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.cxx | 2 |
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 !"); } |