summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-05 17:57:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-05 17:57:18 +0200
commitcb2550750386f51ef7a46a8a664a4ab9de614f8d (patch)
treeaabfee7b4e12074f4ed6f80e8f2f5101d284385e /wizards
parente808bbe1ce51465e6f3e9dc4fec2ecd263fe0e4b (diff)
Drop lazywrite property, which is silently ignored by configmgr anyway
...at least ever since the "new" configmgr reimplementation, 6b849a6aeeb9ea8b1e25e28d5a8be390e425f84e "#i101955# initial work in progress of a configmgr reimplementation (for now in an extra module 'configmgr2')" et al Change-Id: I43430d991647fb2e26762463d51175247db0604b
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))