summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-08 14:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-08 23:24:03 +0100
commit2f9aea0c1aa77a88a3dbfcc668dc410f983f3460 (patch)
treeb57de1e520059ebfa25c021f2999c566048290de /wizards
parent0ba869fc5c13a29599fda7eb976b2e7959706e04 (diff)
tdf#114881: Re-introduce ConfigurationUpdateAccess
...which had accidentally been removed completely from this part of cb2550750386f51ef7a46a8a664a4ab9de614f8d "Drop lazywrite property, which is silently ignored by configmgr anyway" Change-Id: Ibacacc7b04bbd0a0cc819530594dd042329b366f Reviewed-on: https://gerrit.libreoffice.org/47600 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/Configuration.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/common/Configuration.py b/wizards/com/sun/star/wizards/common/Configuration.py
index 95816ca6c071..e63d20827542 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.py
+++ b/wizards/com/sun/star/wizards/common/Configuration.py
@@ -34,7 +34,10 @@ class Configuration(object):
args.append(aPathArgument)
- sView = "com.sun.star.configuration.ConfigurationAccess"
+ if updateable:
+ sView = "com.sun.star.configuration.ConfigurationUpdateAccess"
+ else:
+ sView = "com.sun.star.configuration.ConfigurationAccess"
return oConfigProvider.createInstanceWithArguments(sView, tuple(args))