Tag: cws_src680_warnings01
User: fs      
Date: 06/06/01 00:50:32

Modified:
 /dba/dbaccess/source/ui/dlg/
  sqlmessage.cxx, UserAdminDlg.cxx

Log:
 #i57457# warning-free code

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: sqlmessage.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/sqlmessage.cxx?r1=1.20.74.1&r2=1.20.74.2
Delta lines:  +3 -4
-------------------
--- sqlmessage.cxx      24 Mar 2006 15:36:13 -0000      1.20.74.1
+++ sqlmessage.cxx      1 Jun 2006 07:50:29 -0000       1.20.74.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: sqlmessage.cxx,v $
  *
- *  $Revision: 1.20.74.1 $
+ *  $Revision: 1.20.74.2 $
  *
- *  last change: $Author: fs $ $Date: 2006/03/24 15:36:13 $
+ *  last change: $Author: fs $ $Date: 2006/06/01 07:50:29 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -291,8 +291,7 @@
                                                  MessageType eImage)
 {
        // Changed as per BugID 79541 Branding/Configuration
-       ::utl::ConfigManager* pMgr = ::utl::ConfigManager::GetConfigManager();
-       Any aProductName = 
pMgr->GetDirectConfigProperty(::utl::ConfigManager::PRODUCTNAME);
+    Any aProductName = 
::utl::ConfigManager::GetConfigManager()->GetDirectConfigProperty( 
::utl::ConfigManager::PRODUCTNAME );
        ::rtl::OUString sProductName;
        aProductName >>= sProductName;
 

File [changed]: UserAdminDlg.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/UserAdminDlg.cxx?r1=1.7&r2=1.7.74.1
Delta lines:  +10 -9
--------------------
--- UserAdminDlg.cxx    23 Sep 2005 12:27:51 -0000      1.7
+++ UserAdminDlg.cxx    1 Jun 2006 07:50:29 -0000       1.7.74.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: UserAdminDlg.cxx,v $
  *
- *  $Revision: 1.7 $
+ *  $Revision: 1.7.74.1 $
  *
- *  last change: $Author: hr $ $Date: 2005/09/23 12:27:51 $
+ *  last change: $Author: fs $ $Date: 2006/06/01 07:50:29 $
  *
  *  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 @@
                                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);




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to