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/ComboBox.cxx | |
parent | f00172b81c8bab0b1c62cbca1bc14b83deed8806 (diff) |
catch exception by constant reference
Diffstat (limited to 'forms/source/component/ComboBox.cxx')
-rw-r--r-- | forms/source/component/ComboBox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index eadf1a8fc3f9..6224c5b6f831 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -598,7 +598,7 @@ void OComboBoxModel::loadData( bool _bForce ) xListCursor.reset( m_aListRowSet.execute() ); } } - catch(SQLException& eSQL) + catch(const SQLException& eSQL) { onError(eSQL, FRM_RES_STRING(RID_BASELISTBOX_ERROR_FILLLIST)); return; @@ -670,7 +670,7 @@ void OComboBoxModel::loadData( bool _bForce ) break; } } - catch(SQLException& eSQL) + catch(const SQLException& eSQL) { onError(eSQL, FRM_RES_STRING(RID_BASELISTBOX_ERROR_FILLLIST)); return; |