Tag: cws_src680_dba24
User: oj      
Date: 05/02/25 05:39:35

Modified:
 /dba/dbaccess/source/ui/dlg/
  ConnectionHelper.cxx, DBSetupConnectionPages.cxx

Log:
 #i42289 # state toggling corrected

File Changes:

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

File [changed]: ConnectionHelper.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/ConnectionHelper.cxx?r1=1.4.4.2&r2=1.4.4.3
Delta lines:  +8 -3
-------------------
--- ConnectionHelper.cxx        4 Feb 2005 13:11:29 -0000       1.4.4.2
+++ ConnectionHelper.cxx        25 Feb 2005 13:39:32 -0000      1.4.4.3
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: ConnectionHelper.cxx,v $
  *
- *  $Revision: 1.4.4.2 $
+ *  $Revision: 1.4.4.3 $
  *
- *  last change: $Author: oj $ $Date: 2005/02/04 13:11:29 $
+ *  last change: $Author: oj $ $Date: 2005/02/25 13:39:32 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -239,6 +239,11 @@
                getFlags(_rSet, bValid, bReadonly);
 
         m_eType = m_pAdminDialog->getDatasourceType(_rSet);
+        // special handling for oracle and wizard mode
+        if ( DST_ORACLE_JDBC == m_eType && m_aET_Connection.GetHelpId() != 
HID_DSADMIN_ORACLE_DATABASE )
+        {
+            m_eType = DST_JDBC;
+        }
 
                BOOL bEnableBrowseButton = 
m_pCollection->supportsBrowsing(m_eType);
                m_aFT_Connection.Show();

File [changed]: DBSetupConnectionPages.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx?r1=1.2.48.2&r2=1.2.48.3
Delta lines:  +7 -3
-------------------
--- DBSetupConnectionPages.cxx  4 Feb 2005 11:06:25 -0000       1.2.48.2
+++ DBSetupConnectionPages.cxx  25 Feb 2005 13:39:32 -0000      1.2.48.3
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: DBSetupConnectionPages.cxx,v $
  *
- *  $Revision: 1.2.48.2 $
+ *  $Revision: 1.2.48.3 $
  *
- *  last change: $Author: oj $ $Date: 2005/02/04 11:06:25 $
+ *  last change: $Author: oj $ $Date: 2005/02/25 13:39:32 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -578,6 +578,8 @@
                }
                callModifiedHdl();
 
+        sal_Bool bRoadmapState = ((m_aETDatabasename.GetText().Len() != 0 ) && 
( m_aETHostname.GetText().Len() != 0 ) && (m_aNFPortNumber.GetText().Len() != 0 
) && ( m_aETDriverClass.GetText().Len() != 0 ));
+        SetRoadmapStateValue(bRoadmapState);
        }
 
        // 
-----------------------------------------------------------------------
@@ -676,6 +678,8 @@
         sal_Bool bEnable = pDrvItem->GetValue().Len() != 0;
         m_aPBTestJavaDriver.Enable(bEnable);
                OConnectionTabPageSetup::implInitControls(_rSet, _bSaveValue);
+
+        SetRoadmapStateValue(checkTestConnection());
     }
 
 




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

Reply via email to