summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/UserAdminDlg.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:05:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:05:00 +0000
commit9c8ddb75e4e61490bf50f1d1f194f3c42bce013b (patch)
treebf16e8b2052a1d828941fee5ba7114a7b0813804 /dbaccess/source/ui/dlg/UserAdminDlg.cxx
parentcea59553eb32ebb28dc7b43b735fb6c264680cc0 (diff)
INTEGRATION: CWS warnings01 (1.7.74); FILE MERGED
2006/06/01 07:50:29 fs 1.7.74.1: #i57457# warning-free code
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdminDlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/UserAdminDlg.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdminDlg.cxx b/dbaccess/source/ui/dlg/UserAdminDlg.cxx
index ee6f1d7ece12..ad89623898b9 100644
--- a/dbaccess/source/ui/dlg/UserAdminDlg.cxx
+++ b/dbaccess/source/ui/dlg/UserAdminDlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: UserAdminDlg.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2005-09-23 12:27:51 $
+ * last change: $Author: hr $ $Date: 2006-06-20 03:05:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -161,8 +161,9 @@ DBG_NAME(OUserAdminDlg)
if ( !bError )
{
m_xConnection = createConnection().first;
+ bError = !m_xConnection.is();
- if ( !(bError = !m_xConnection.is()) )
+ if ( !bError )
{
// now set the tables supplier at the table control
xUsersSup.set(xDriver->getDataDefinitionByConnection(m_xConnection),UNO_QUERY);