summaryrefslogtreecommitdiff
path: root/librelogo/source/LibreLogo/LibreLogo.py
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-08 09:10:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-08 09:10:29 +0100
commit382b013275f0dd81d6bbf299782f59d2735c5beb (patch)
tree6fcfccba42ff0ced32342b5c2720dfaf38da19eb /librelogo/source/LibreLogo/LibreLogo.py
parentb45e8153b28b7447a922129d3e3a182315c8b337 (diff)
Some ConfigurationProvider -> theDefaultProvider simplifications
Change-Id: I7c25cd94f8a1ca339f7423c26f21f13c7a68906d
Diffstat (limited to 'librelogo/source/LibreLogo/LibreLogo.py')
-rw-r--r--librelogo/source/LibreLogo/LibreLogo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index 7b5930bf715b..8c48024c5cdf 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -141,7 +141,7 @@ def __getprop__(name, value):
p, p.Name, p.Value = __property__(), name, value
return p
-__uilocale__ = uno.getComponentContext().ServiceManager.createInstance("com.sun.star.configuration.ConfigurationProvider").\
+__uilocale__ = uno.getComponentContext().getValueByName("/singletons/com.sun.star.configuration.theDefaultProvider").\
createInstanceWithArguments("com.sun.star.configuration.ConfigurationAccess",\
(__getprop__("nodepath", "/org.openoffice.Setup/L10N"),)).getByName("ooLocale") + '-' # handle missing Country of locale 'eo'