summaryrefslogtreecommitdiff
path: root/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2008-02-11 07:35:34 +0000
committerMikhail Voitenko <mav@openoffice.org>2008-02-11 07:35:34 +0000
commit1abd836201dd66b93a648c58ee929cfc45e170d7 (patch)
treea91ff1d27a51032ab0570321aa45cd23781815f9 /swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
parent1b9a822eead9e30267f3425d67e8f9b56169113d (diff)
change user and password handling
Diffstat (limited to 'swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
index 2ff56a8fb8b0..ab0a9405a279 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
@@ -4,9 +4,9 @@
*
* $RCSfile: WikiEditSettingDialog.java,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: mav $ $Date: 2008-02-10 15:56:36 $
+ * last change: $Author: mav $ $Date: 2008-02-11 08:35:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -82,8 +82,10 @@ public class WikiEditSettingDialog extends WikiDialog
XPropertySet xUrlField = GetPropSet( "UrlField" );
xUrlField.setPropertyValue( "Text", ht.get( "Url" ) );
+
GetPropSet( "UsernameField" ).setPropertyValue( "Text", ht.get( "Username" ));
- GetPropSet( "PasswordField" ).setPropertyValue( "Text", ht.get( "Password" ));
+ // the password should be entered or the Cancel should be pressed
+ // GetPropSet( "PasswordField" ).setPropertyValue( "Text", ht.get( "Password" ));
}
catch ( Exception ex )
{