summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/Configuration.java12
-rw-r--r--wizards/com/sun/star/wizards/common/Configuration.py11
2 files changed, 3 insertions, 20 deletions
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java
index 378ad9f3fa8d..c206a4014b3b 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.java
+++ b/wizards/com/sun/star/wizards/common/Configuration.java
@@ -48,7 +48,7 @@ public abstract class Configuration
final String sView = updateable ? "com.sun.star.configuration.ConfigurationUpdateAccess" : "com.sun.star.configuration.ConfigurationAccess";
- Object args[] = new Object[updateable ? 2 : 1];
+ Object args[] = new Object[1];
PropertyValue aPathArgument = new PropertyValue();
aPathArgument.Name = "nodepath";
@@ -56,16 +56,6 @@ public abstract class Configuration
args[0] = aPathArgument;
- if (updateable)
- {
-
- PropertyValue aModeArgument = new PropertyValue();
- aModeArgument.Name = "lazywrite";
- aModeArgument.Value = Boolean.FALSE;
-
- args[1] = aModeArgument;
- }
-
return confMsf.createInstanceWithArguments(sView, args);
}
diff --git a/wizards/com/sun/star/wizards/common/Configuration.py b/wizards/com/sun/star/wizards/common/Configuration.py
index dbaf6ddc1766..95816ca6c071 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.py
+++ b/wizards/com/sun/star/wizards/common/Configuration.py
@@ -33,15 +33,8 @@ class Configuration(object):
aPathArgument.Value = sPath
args.append(aPathArgument)
- if updateable:
- sView = "com.sun.star.configuration.ConfigurationUpdateAccess"
- aModeArgument = uno.createUnoStruct(
- 'com.sun.star.beans.PropertyValue')
- aModeArgument.Name = "lazywrite"
- aModeArgument.Value = False
- args.append(aModeArgument)
- else:
- sView = "com.sun.star.configuration.ConfigurationAccess"
+
+ sView = "com.sun.star.configuration.ConfigurationAccess"
return oConfigProvider.createInstanceWithArguments(sView, tuple(args))