Tag: cws_src680_dba24
User: oj      
Date: 05/01/31 22:27:28

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

Log:
 #119240# set username if already set

File Changes:

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

File [changed]: DBSetupConnectionPages.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx?r1=1.2&r2=1.2.48.1
Delta lines:  +12 -3
--------------------
--- DBSetupConnectionPages.cxx  27 Oct 2004 12:59:12 -0000      1.2
+++ DBSetupConnectionPages.cxx  1 Feb 2005 06:27:25 -0000       1.2.48.1
@@ -817,7 +817,16 @@
        // 
-----------------------------------------------------------------------
        void OAuthentificationPageSetup::implInitControls(const SfxItemSet& 
_rSet, sal_Bool _bSaveValue)
        {
+        // check whether or not the selection is invalid or readonly (invalid 
implies readonly, but not vice versa)
+               sal_Bool bValid, bReadonly;
+               getFlags(_rSet, bValid, bReadonly);
+        SFX_ITEMSET_GET(_rSet, pUidItem, SfxStringItem, DSID_USER, sal_True);
+        SFX_ITEMSET_GET(_rSet, pAllowEmptyPwd, SfxBoolItem, 
DSID_PASSWORDREQUIRED, sal_True);
 
+        m_aETUserName.SetText(pUidItem->GetValue());
+           m_aCBPasswordRequired.Check(pAllowEmptyPwd->GetValue());
+
+        m_aETUserName.ClearModifyFlag();
        }
 
        // 
-----------------------------------------------------------------------




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

Reply via email to