[Libreoffice-commits] core.git: wizards/com
Stephan Bergmann
sbergman at redhat.com
Mon Jan 8 22:24:31 UTC 2018
wizards/com/sun/star/wizards/common/Configuration.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 2f9aea0c1aa77a88a3dbfcc668dc410f983f3460
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 8 14:31:58 2018 +0100
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 at yahoo.fr>
Tested-by: Jenkins <ci at libreoffice.org>
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))
More information about the Libreoffice-commits
mailing list