summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/UserAdminDlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdminDlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/UserAdminDlg.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdminDlg.cxx b/dbaccess/source/ui/dlg/UserAdminDlg.cxx
index 68474ab64134..726a4ab70a10 100644
--- a/dbaccess/source/ui/dlg/UserAdminDlg.cxx
+++ b/dbaccess/source/ui/dlg/UserAdminDlg.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95,11 +96,15 @@ DBG_NAME(OUserAdminDlg)
OUserAdminDlg::~OUserAdminDlg()
{
if ( m_bOwnConnection )
+ {
try
{
::comphelper::disposeComponent(m_xConnection);
}
- catch(Exception){}
+ catch(const Exception&)
+ {
+ }
+ }
SetInputSet(NULL);
DELETEZ(pExampleSet);
@@ -118,12 +123,12 @@ DBG_NAME(OUserAdminDlg)
throw SQLException(sError,NULL,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("S1000")) ,0,Any());
}
}
- catch(const SQLException& e)
+ catch(const SQLException&)
{
::dbaui::showError( ::dbtools::SQLExceptionInfo( ::cppu::getCaughtException() ), GetParent(), getORB() );
return RET_CANCEL;
}
- catch( const Exception& )
+ catch(const Exception&)
{
DBG_UNHANDLED_EXCEPTION();
}
@@ -204,3 +209,5 @@ DBG_NAME(OUserAdminDlg)
//.........................................................................
} // namespace dbaui
//.........................................................................
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */