diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-08 14:31:58 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-01-09 15:05:27 +0100 |
commit | a51cb7fb81139f5f8f013c53a154078ef36032f0 (patch) | |
tree | 06fe65ad5c6002403e3fa64962968a60c881c498 | |
parent | 195ad7f4a780320f47f68b8a7dc381f8e2d492cc (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>
(cherry picked from commit 2f9aea0c1aa77a88a3dbfcc668dc410f983f3460)
Reviewed-on: https://gerrit.libreoffice.org/47621
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | wizards/com/sun/star/wizards/common/Configuration.py | 5 |
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)) |