diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-17 22:39:12 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-17 22:44:43 +0900 |
commit | 5e3a4ecb0ad61faff9fb867e9b4abd092aa115b7 (patch) | |
tree | af060998430b2ea065e8d927d273562f817816dd /dbaccess/source/ui/dlg/UserAdmin.cxx | |
parent | 9902f0ee3d7b22e4984be7225370fb552da03838 (diff) |
catch by const reference
Change-Id: I80a26483c4ecd099a1cfe76bdac1e97b947ef104
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdmin.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/UserAdmin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx index 17f927b06058..9fb27f8abe35 100644 --- a/dbaccess/source/ui/dlg/UserAdmin.cxx +++ b/dbaccess/source/ui/dlg/UserAdmin.cxx @@ -277,7 +277,7 @@ IMPL_LINK( OUserAdmin, UserHdl, PushButton *, pButton ) } FillUserNames(); } - catch(SQLException& e) + catch(const SQLException& e) { ::dbaui::showError(::dbtools::SQLExceptionInfo(e),this,m_xORB); return 0; @@ -340,7 +340,7 @@ void OUserAdmin::implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue) } FillUserNames(); } - catch(SQLException& e) + catch(const SQLException& e) { ::dbaui::showError(::dbtools::SQLExceptionInfo(e),this,m_xORB); } |