summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/UserAdmin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdmin.cxx')
-rw-r--r--dbaccess/source/ui/dlg/UserAdmin.cxx4
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);
}