diff options
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/javaloader/javaloader.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index cc2b74aae0c7..b51446c639fa 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -259,8 +259,7 @@ const css::uno::Reference<XImplementationLoader> & JavaComponentLoader::getJavaL css::uno::Reference<XInitialization> javaLoader_XInitialization(m_javaLoader, UNO_QUERY_THROW); Any any; - any <<= css::uno::Reference<XMultiComponentFactory>( - m_xComponentContext->getServiceManager()); + any <<= m_xComponentContext->getServiceManager(); javaLoader_XInitialization->initialize(Sequence<Any>(&any, 1)); } |