diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-08 09:10:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-08 09:10:29 +0100 |
commit | 382b013275f0dd81d6bbf299782f59d2735c5beb (patch) | |
tree | 6fcfccba42ff0ced32342b5c2720dfaf38da19eb /stoc | |
parent | b45e8153b28b7447a922129d3e3a182315c8b337 (diff) |
Some ConfigurationProvider -> theDefaultProvider simplifications
Change-Id: I7c25cd94f8a1ca339f7423c26f21f13c7a68906d
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/javavm/javavm.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx index 735cabfee01b..f1af2524762d 100644 --- a/stoc/source/javavm/javavm.cxx +++ b/stoc/source/javavm/javavm.cxx @@ -1334,8 +1334,9 @@ void JavaVirtualMachine::registerConfigChangesListener() try { css::uno::Reference< css::lang::XMultiServiceFactory > xConfigProvider( - m_xContext->getServiceManager()->createInstanceWithContext( OUString( - "com.sun.star.configuration.ConfigurationProvider"), m_xContext), css::uno::UNO_QUERY); + m_xContext->getValueByName( + "/singletons/com.sun.star.configuration.theDefaultProvider"), + css::uno::UNO_QUERY); if (xConfigProvider.is()) { |